cqp 20 jam lalu
induk
melakukan
e4cab6f8ae
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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 = [];