From 12f980ced60db7aaa83f5fa3dc3eddfab0655c3e Mon Sep 17 00:00:00 2001
From: zc <zc@123>
Date: 星期二, 16 九月 2025 09:54:21 +0800
Subject: [PATCH] 123

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index e8f6cfa..51f1693 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -193,7 +193,7 @@
         select *
         from asr_wrk_mast
         where 1 = 1
-          and shuttle_no = #{shuttleNo}
+        and shuttle_no = #{shuttleNo}
         <if test="wrkNo !=null">
             and wrk_no != #{wrkNo}
         </if>
@@ -237,4 +237,18 @@
         order by io_pri desc, io_time, wrk_no asc
     </select>
 
+    <select id="selectWorkingPakout" resultMap="BaseResultMap">
+        select *
+        from asr_wrk_mast
+        where io_type = 101
+          and sta_no = #{staNo} limit 0,1
+    </select>
+
+    <select id="selectWorkingPakin" resultMap="BaseResultMap">
+        select *
+        from asr_wrk_mast
+        where io_type = 1
+          and source_sta_no = #{staNo} limit 0,1
+    </select>
+
 </mapper>

--
Gitblit v1.9.1