Commit b64a4f61 by HTML5-侯张振

更改新接口错误

parent f96187d2
......@@ -523,11 +523,7 @@ class Report extends CI_Controller
$checksales=$results[0]["saleManColl"];
foreach($checksales as $value){
$checksalesID=$this->sales->get(array('rongchuang_user_id'=> $value["id"]));
if(count($checksales,COUNT_NORMAL)>1){
$checksalesnum[]=$checksalesID['user_id'];
}else{
$checksalesnum[]=$checksalesID['user_id'];
}
$checksalesnum[]=array('sale_id'=>$checksalesID['user_id']);
};
$customer_sales_id = $this->customer_building->get_sale_id(array('customer_building_id'=>$customerBuilding['id']));
if(!($customer_sales_id==$checksalesnum)){
......
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