|
...
|
...
|
@@ -35,7 +35,7 @@ class lyhDemo extends Command |
|
|
|
);
|
|
|
|
echo '数据'.json_encode($missingTaskIds,true).PHP_EOL;
|
|
|
|
if (!empty($missingTaskIds)) {
|
|
|
|
DB::connection('custom_mysql')->table('article')
|
|
|
|
DB::table('article')
|
|
|
|
->whereIn('task_id', $missingTaskIds)
|
|
|
|
->delete();
|
|
|
|
}
|
...
|
...
|
|