Commit daed6b77 authored by zhuwei's avatar zhuwei

bug

parent 2c8ed8ab
......@@ -327,7 +327,7 @@ class Member extends Basic{
//查询客户是否在保护期内
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$user_service = new UserService();
$is_outstrip_twenty_four_hours = $user_service->isUserProtect($v["user_id"]);
$is_outstrip_twenty_four_hours = $user_service->isUserProtect($v["id"]);
$data_list[$k]['is_outstrip_twenty_four_hours']=$is_outstrip_twenty_four_hours;
......
......@@ -311,6 +311,7 @@ class PerformanceService
*/
public function totalAgentExcel($type, $yesterday, $end_day,$father_id,$params)
{
$where_ = [];
if($father_id){
if($type == 1){
......@@ -412,9 +413,11 @@ class PerformanceService
break;
}
}
//dump(json_encode($arr));exit;
//dump(json_encode($where_));exit;
//return ['list'=>$arr,'total'=>0];
if(!$arr){
exit('暂无数据');
}
$export = new ExportExcelUntil();
foreach ($arr as $key => $v) {
......
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