From 119d8ea7d24e158c038860aec4f0f60aed6128cc Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期三, 04 十二月 2024 14:02:36 +0800
Subject: [PATCH] 优化工作档状态检查逻辑;防止15的工作状态被改回14

---
 src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java b/src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java
index 547cedb..d2cecf1 100644
--- a/src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java
@@ -20,6 +20,7 @@
     @Transactional
     public ReturnT<String> start() {
         try {
+            // 涓嬩綅鏈哄懡浠よ浆鍘嗗彶妗�
             int updateCount = jdbcTemplate.update("insert into asr_stk_hplc select * from asr_stk_plcm where dateadd(day,7,appe_time) <= getdate();");
             if (updateCount > 0) {
                 int deleteCount = jdbcTemplate.update("delete from asr_stk_plcm where dateadd(day,7,io_time) <= getdate();");

--
Gitblit v1.9.1