|
@@ -138,7 +138,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
@@ -138,7 +138,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
138
|
}
|
138
|
}
|
|
139
|
|
139
|
|
|
140
|
|
140
|
|
|
141
|
- $update_log = UpdateLog::where('project_id', 555)->where('status', UpdateLog::STATUS_COM)->where('collect_status', '>', UpdateLog::COLLECT_STATUS_MAIN)->first();
|
141
|
+ $update_log = UpdateLog::whereIn('project_id', [555, 626])->where('status', UpdateLog::STATUS_COM)->where('collect_status', UpdateLog::COLLECT_STATUS_UN)->first();
|
|
142
|
if (!$update_log) {
|
142
|
if (!$update_log) {
|
|
143
|
return false;
|
143
|
return false;
|
|
144
|
}
|
144
|
}
|
|
@@ -176,7 +176,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
@@ -176,7 +176,7 @@ class HtmlLanguageSpecialCollect extends Command |
|
176
|
DB::disconnect('custom_mysql');
|
176
|
DB::disconnect('custom_mysql');
|
|
177
|
|
177
|
|
|
178
|
if ($complete) {
|
178
|
if ($complete) {
|
|
179
|
- $update_log->collect_status = UpdateLog::COLLECT_STATUS_MAIN;
|
179
|
+ $update_log->collect_status = UpdateLog::COLLECT_STATUS_COM;
|
|
180
|
$update_log->save();
|
180
|
$update_log->save();
|
|
181
|
return 0;
|
181
|
return 0;
|
|
182
|
}
|
182
|
}
|