From 8763d2f0bebddcbef6cdab7c94436457495b2caa Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 29 一月 2026 15:06:29 +0800
Subject: [PATCH] 入库分配堆垛机做成可配置

---
 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