sunhao 5 years ago
parent
commit
8b14c0f7b9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/CustReportController.php

+ 1 - 0
app/Http/Controllers/Admin/CustReportController.php

@@ -754,6 +754,7 @@ class custReportController extends Controller
754 754
 
755 755
         $ret = array();
756 756
         foreach($data as $k=>$v){
757
+            $ids = DB::table('admin')->whereIn('id', $ids)->where('create_time','<',$k)->lists('id');
757 758
             $diff = array_diff($ids, $v);
758 759
             if(!empty($diff)){
759 760
                 //名字带入