Sfoglia il codice sorgente

task_id->sync_task_id

liuzejian 1 anno fa
parent
commit
ab4de09576
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/Console/Commands/Video/WechatCheck/GetTaskInfo.php

+ 2 - 2
app/Console/Commands/Video/WechatCheck/GetTaskInfo.php

@@ -43,8 +43,8 @@ class GetTaskInfo extends Command
             ->where('sync_task_id', '<>', '')
             ->where('is_enabled', 1)
             ->when($taskIdArr, function ($query, $taskIdArr) {
-                return $query->whereIn('task_id', $taskIdArr);
-            })->orderBy('id', 'asc')
+                return $query->whereIn('sync_task_id', $taskIdArr);
+            })->orderBy('id')
             ->chunk(100, function ($items) {
                 $now = date('Y-m-d H:i:s');
                 foreach ($items as $item) {