From 8257d89c461f6553d66fad1e5e3df3d172a00924 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期六, 29 十一月 2025 18:10:18 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/task/ArmRulesScheduler.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/ArmRulesScheduler.java b/src/main/java/com/zy/asrs/task/ArmRulesScheduler.java
index 52cef5b..4ea6a9d 100644
--- a/src/main/java/com/zy/asrs/task/ArmRulesScheduler.java
+++ b/src/main/java/com/zy/asrs/task/ArmRulesScheduler.java
@@ -41,6 +41,8 @@
ArmPrecomputeParam armPrecomputeParam = new ArmPrecomputeParam(basArmRule);
ReturnT<String> returnT = armRulesHandler.start(armPrecomputeParam);
if (!returnT.isSuccess()) {
+ basArmRule.setStatus(2);
+ basArmRulesService.updateById(basArmRule);
log.error("鑾峰彇鐮佸灈鏁伴噺澶辫触===>"+JSON.toJSON(basArmRule));
}
} else {
--
Gitblit v1.9.1