From b5130c2e6d60c7f23e37f7c620375bc4e253caa3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 18 十月 2022 14:52:20 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 89f73ec..70dd04c 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -78,4 +78,26 @@
         order by io_time,wrk_no asc
     </select>
 
+    <select id="selectByLocNoOfPakin" resultMap="BaseResultMap">
+        select top 1 *
+        from asr_wrk_mast
+        where 1=1
+        and io_type &lt; 100 and io_type != 11
+        and loc_no = #{locNo}
+        and wrk_sts &lt; 9
+    </select>
+
+    <select id="selectBySourceLocNoOfPakout" resultMap="BaseResultMap">
+        select top 1 *
+        from asr_wrk_mast
+        where 1=1
+        and io_type > 100
+        and source_loc_no = #{sourceLocNo}
+        and wrk_sts &lt; 17
+    </select>
+
+    <select id="selectOfPick" resultMap="BaseResultMap">
+        select top 1 * from asr_wrk_mast where wrk_no=#{wrkNo} and wrk_sts=17 and io_type = #{ioType}
+    </select>
+
 </mapper>

--
Gitblit v1.9.1