|
...
|
...
|
@@ -138,7 +138,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$update_log = UpdateLog::where('project_id', 555)->where('status', UpdateLog::STATUS_COM)->where('collect_status', '>', UpdateLog::COLLECT_STATUS_MAIN)->first();
|
|
|
|
$update_log = UpdateLog::whereIn('project_id', [555, 626])->where('status', UpdateLog::STATUS_COM)->where('collect_status', UpdateLog::COLLECT_STATUS_UN)->first();
|
|
|
|
if (!$update_log) {
|
|
|
|
return false;
|
|
|
|
}
|
|
...
|
...
|
@@ -176,7 +176,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
|
|
|
|
if ($complete) {
|
|
|
|
$update_log->collect_status = UpdateLog::COLLECT_STATUS_MAIN;
|
|
|
|
$update_log->collect_status = UpdateLog::COLLECT_STATUS_COM;
|
|
|
|
$update_log->save();
|
|
|
|
return 0;
|
|
|
|
}
|
...
|
...
|
|