From 54c41bbbffd29c51762db3cc99e76f75617f2bda Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期一, 18 八月 2025 16:44:03 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastStaMapper.xml |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index 6997839..493ed89 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -74,6 +74,31 @@
         order by line_number,id
     </select>
 
+    <select id="selectNoInterfere" resultMap="BaseResultMap">
+        select * from asr_wrk_mast_sta
+        where 1=1
+        and (sta_start in
+        <foreach item="item" collection="staStarts" index="index" separator="," open="(" close=")">
+            #{item}
+        </foreach>
+        or sta_start = 0
+        )
+        and (sta_end in
+        <foreach item="item" collection="staEnds" index="index" separator="," open="(" close=")">
+            #{item}
+        </foreach>
+        or sta_end = 0
+        )
+        and wrk_sts=0
+        and wrk_no = #{workNo}
+        order by line_number,id
+    </select>
+    <select id="selectByWorkSta" resultMap="BaseResultMap">
+        select *
+        where work_sta = #{workSta}
+        and rgv_no = #{rgvNo}
+    </select>
+
     <select id="selectAllWrkCount" resultType="java.lang.Integer">
         select count(1) from asr_wrk_mast_sta
         where 1=1

--
Gitblit v1.9.1