作者 赵彬吉
@@ -556,7 +556,7 @@ class InquiryForwardLogic extends BaseLogic @@ -556,7 +556,7 @@ class InquiryForwardLogic extends BaseLogic
556 556
557 //周统计 557 //周统计
558 $last_week_day = date('Y-m-d', strtotime('-1 week')); 558 $last_week_day = date('Y-m-d', strtotime('-1 week'));
559 - $week_manage_ids = ForwardCount::select('manage_id')->where('created_at', '>', $last_week_day . ' +1 day')->where('count', '>', 0)->orderBy('manage_id', 'asc')->distinct()->pluck('manage_id')->toArray(); 559 + $week_manage_ids = ForwardCount::select('manage_id')->where('created_at', '>', date('Y-m-d', strtotime($last_week_day . ' +1 day')))->where('count', '>', 0)->orderBy('manage_id', 'asc')->distinct()->pluck('manage_id')->toArray();
560 560
561 $data_week = []; 561 $data_week = [];
562 $data_week_total = []; 562 $data_week_total = [];