From ca42a5047cb15ae63035f15a971a8e1ec858851f Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 20 十二月 2023 16:24:04 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/LocMastMapper.xml | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index 5d6b2cc..ee92255 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -119,7 +119,18 @@
<if test="locType1 != null">
and loc_type1 = #{locType1}
</if>
- ORDER BY lev1,bay1,row1
+ ORDER BY row1,bay1,lev1
+ </select>
+
+ <select id="selectAreaEmptyByLev" resultMap="BaseResultMap">
+ select * from asr_loc_mast
+ where loc_sts in ('O')
+ and loc_type3 = #{locType3}
+ <if test="locType1 != null">
+ and loc_type1 = #{locType1}
+ </if>
+ and lev1 = #{lev}
+ ORDER BY row1,bay1,lev1
</select>
<select id="selectEmptyByLocNos" resultMap="BaseResultMap">
--
Gitblit v1.9.1