From c902e238626f737a224325ac503706c45f2f247f Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 16 九月 2025 13:02:20 +0800
Subject: [PATCH] 站点转移任务完成延迟10秒转历史

---
 src/main/resources/mapper/WrkMastMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 4172273..1267aba 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -87,7 +87,7 @@
         a.crn_end_time IS NULL
         ))
         OR
-        (a.wrk_sts = 54 AND a.io_type = 120)
+        (a.wrk_sts = 54 AND a.io_type = 120 AND a.modi_time &lt; DATEADD(s, -10, GETDATE()))
         ) OPTION (RECOMPILE)
     </select>
 

--
Gitblit v1.9.1