From 8c4a69845aefd4699a7e1f30fa6407763543b48a Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 21 七月 2023 14:12:39 +0800
Subject: [PATCH] 库位移转WCS

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index a9e1f65..5750ffd 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -163,4 +163,19 @@
         select top 1 * from asr_wrk_mast
         where lift_no = #{liftNo}
     </select>
+
+    <select id="selectInOutWrkMast" resultMap="BaseResultMap">
+        select * from asr_wrk_mast
+        where io_type in (1,101)
+        and wrk_sts not in (14,15,34,35)
+        order by io_pri desc,wrk_sts desc
+    </select>
+
+    <select id="selectLocToLocWrkMast" resultMap="BaseResultMap">
+        select * from asr_wrk_mast
+        where io_type in (11)
+        and wrk_sts not in (14,15,34,35)
+        order by io_pri desc,wrk_sts desc
+    </select>
+
 </mapper>

--
Gitblit v1.9.1