Commit 7e1fe15d by HTML5-侯张振

no message

parent a90376a4
...@@ -533,6 +533,7 @@ class Report extends CI_Controller ...@@ -533,6 +533,7 @@ class Report extends CI_Controller
if(!($customer_sales_id==$checksalesnum)){ if(!($customer_sales_id==$checksalesnum)){
$this->customer_sales->delete_sale_id(array('customer_building_id'=>$customerBuilding['id'])); $this->customer_sales->delete_sale_id(array('customer_building_id'=>$customerBuilding['id']));
foreach($checksalesnum as $checksales){ foreach($checksalesnum as $checksales){
$customer_sales['customer_building_id'] = $customerBuilding['id']; $customer_sales['customer_building_id'] = $customerBuilding['id'];
$customer_sales['sale_id'] = $checksales; $customer_sales['sale_id'] = $checksales;
$customer_sales['create_time'] = time(); $customer_sales['create_time'] = time();
......
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