From 51e31c6ac345541f4b9cc631a0c3720c7c2b6672 Mon Sep 17 00:00:00 2001 From: yxFwq <1> Date: 星期三, 10 七月 2024 15:02:07 +0800 Subject: [PATCH] # --- 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