Commit b6787164 by HTML5-侯张振

更改新接口错误

parent 7e1fe15d
......@@ -534,10 +534,10 @@ class Report extends CI_Controller
$this->customer_sales->delete_sale_id(array('customer_building_id'=>$customerBuilding['id']));
foreach($checksalesnum as $checksales){
$customer_sales['customer_building_id'] = $customerBuilding['id'];
$customer_sales['sale_id'] = $checksales;
$customer_sales['create_time'] = time();
$this->customer_sales->add($customer_sales);
$customersales['customer_building_id'] = $customerBuilding['id'];
$customersales['sale_id'] = $checksales;
$customersales['create_time'] = time();
$this->customer_sales->add($customersales);
}
$datasales['user_id'] = $customerBuilding['user_id'];
$datasales['customer_id'] = $customerBuilding['customer_id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment