正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -32,7 +32,7 @@ class ProjectReset extends Command | @@ -32,7 +32,7 @@ class ProjectReset extends Command | ||
| 32 | if ($project) { | 32 | if ($project) { |
| 33 | try { | 33 | try { |
| 34 | DB::connection('custom_mysql')->statement("DELETE FROM `gl_collect_source` WHERE `origin` LIKE '%.css%' OR `origin` LIKE '%.js%'"); | 34 | DB::connection('custom_mysql')->statement("DELETE FROM `gl_collect_source` WHERE `origin` LIKE '%.css%' OR `origin` LIKE '%.js%'"); |
| 35 | - DB::connection('custom_mysql')->statement("UPDATE `gl_collect_task` SET `status` = 0"); | 35 | + DB::connection('custom_mysql')->statement("UPDATE `gl_collect_task` SET `status` = 0 WHERE `language` = ''"); |
| 36 | } catch (\Exception $e) { | 36 | } catch (\Exception $e) { |
| 37 | echo $project_id . ',重置失败' . PHP_EOL; | 37 | echo $project_id . ',重置失败' . PHP_EOL; |
| 38 | } | 38 | } |
-
请 注册 或 登录 后发表评论