From fb74f60f1d8397acf5251ae289e80ab8a056857f Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 09 十月 2025 09:08:05 +0800
Subject: [PATCH] #和得服务器

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

diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index 81852a1..749f852 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -153,8 +153,13 @@
     </select>
     <select id="selectLockWrk" resultMap="BaseResultMap">
         select * from asr_wrk_mast_sta
-        where mk = 1
-        and rgv_no = #{rgvNo}
+        where wrk_sts > 0
+        and sta_end &lt; 2000
+    </select>
+    <select id="selectLockWrkT" resultMap="BaseResultMap">
+        select * from asr_wrk_mast_sta
+        where wrk_sts > 0
+        and sta_end &gt; 2000
     </select>
 
 

--
Gitblit v1.9.1