From 67826a2c51bbc013db409dd1a5e29dd4ba52fd72 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期二, 20 一月 2026 09:27:47 +0800
Subject: [PATCH] 初始化
---
src/main/resources/mapper/LocMastMapper.xml | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index 1b36b39..1efab2e 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -123,13 +123,7 @@
<select id="queryLocToOne" resultMap="BaseResultMap">
select top 1 * from asr_loc_mast
where loc_sts = 'O' and row1 in (1,2)
- <if test="locType2 == 4">
- and lev1 in(1)
- </if>
<if test="locType2 == 5">
- and lev1 in(2,3)
- </if>
- <if test="locType2 == 6">
and lev1 in(4,5)
</if>
order by lev1 asc,bay1 asc
@@ -146,4 +140,28 @@
</if>
order by lev1 asc,bay1 asc
</select>
+
+ <select id="queryLocToSpecal" resultMap="BaseResultMap">
+ select top 1 * from asr_loc_mast
+ where loc_sts = 'O' and row1 in (1,2)
+ <if test="locType1 == 1">
+ and lev1 in(1)
+ </if>
+ <if test="locType1 == 2">
+ and lev1 in(2,3)
+ </if>
+ order by lev1 asc,bay1 asc
+ </select>
+
+ <select id="queryLocToOneEmpty" resultMap="BaseResultMap">
+ select top 1 * from asr_loc_mast
+ where loc_sts = 'O' and row1 in (1,2)
+ <if test="locType2 == 5">
+ and lev1 in(4,5)
+ </if>
+ <if test="locType2 == 6">
+ and lev1 in(1,2,3)
+ </if>
+ order by lev1 asc,bay1 asc
+ </select>
</mapper>
--
Gitblit v1.9.1