소스 검색

得润宝

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 = [];