Forráskód Böngészése

[智价云] 数据清洗记录日志日志时间更新

tangyuanwang 19 órája
szülő
commit
064f49d0de

+ 1 - 1
app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

@@ -105,7 +105,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
         $product_datas = $product_data_info['data'];
         if (empty($product_datas)) {
             if ($executeLog_id) {
-                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0]);
+                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0,'update_time' => time()]);
             }
             return true;
         }

+ 1 - 1
app/Jobs/Manager/Process/ViolationProductDataJobs.php

@@ -103,7 +103,7 @@ class ViolationProductDataJobs implements ShouldQueue
         $product_datas = $product_data_info['data'];
         if (empty($product_datas)) {
             if ($executeLog_id) {
-                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0]);
+                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0,'update_time' => time()]);
             }
             return true;
         }

+ 1 - 1
app/Jobs/Manager/Process/ViolationStoreDataJobs.php

@@ -97,7 +97,7 @@ class ViolationStoreDataJobs implements ShouldQueue
         $product_datas = $product_data_info['data'];
         if (empty($product_datas)) {
             if ($executeLog_id) {
-                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0]);
+                (new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0,'update_time' => time()]);
             }
             return true;
         }