From 2f13ca17500528381cf808ee09cc540be61fbf94 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期五, 25 七月 2025 16:23:40 +0800
Subject: [PATCH] 三期初始化

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

diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index b994824..e4fa529 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -191,6 +191,9 @@
         <if test="crnNo == 3">
             and row1 in(6,7)
         </if>
+        <if test="crnNo == 4">
+            and row1 in(8,9)
+        </if>
         ORDER BY lev1 ASC, bay1 ASC
     </select>
     <select id="queryLocByBarCode" resultType="com.zy.asrs.entity.LocMast">
@@ -221,4 +224,7 @@
     <select id="selectByBarcode" resultMap="BaseResultMap">
         SELECT * FROM asr_loc_mast where 1=1 and barcode = #{barcode}
     </select>
+    <select id="selectOneByCrnNo" resultMap="BaseResultMap">
+        SELECT * FROM asr_loc_mast where 1=1 and loc_sts = 'O' and crn_no = #{crnNo} order by lev1,bay1
+    </select>
 </mapper>

--
Gitblit v1.9.1