瀏覽代碼

得润宝

cqp 19 小時之前
父節點
當前提交
e4cab6f8ae
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Console/Commands/U8Settle.php

+ 2 - 2
app/Console/Commands/U8Settle.php

@@ -83,8 +83,8 @@ class U8Settle extends Command
                 ->chunkById(10, function ($data) use($connections,$time,$time1){
                     $data = $data->toArray();
 
-                    $name = DDEmployee::whereIn('user_id', array_column($data,'userid'))
-                        ->pluck('name','user_id')
+                    $name = DDEmployee::whereIn('userid', array_column($data,'userid'))
+                        ->pluck('name','userid')
                         ->toArray();
 
                     $id = [];