From 6274f4380453d9e2855f5e13645877852f020600 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 16 五月 2023 22:33:11 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index 7821af2..c8be3ea 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -54,9 +54,24 @@
         ORDER BY NEWID()
     </select>
 
+    <select id="queryDemoSourceLoc1" resultMap="BaseResultMap">
+        select top 1 * from asr_loc_mast where crn_no = #{crnNo}
+        and loc_sts='D'
+    </select>
+
     <select id="queryDemoLoc" resultMap="BaseResultMap">
         select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O'
         ORDER BY NEWID()
     </select>
 
+    <select id="queryDemoLoc0" resultMap="BaseResultMap">
+        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O' and loc_type1 = #{locType1}
+        ORDER BY NEWID()
+    </select>
+
+    <select id="queryDemoLoc2" resultMap="BaseResultMap">
+        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O' and loc_type1 = #{locType1}
+        and ctn_kind=0
+        ORDER BY bay1,row1,lev1
+    </select>
 </mapper>

--
Gitblit v1.9.1