From d86db78f18c03d97b7b856fd37cd10d6297eecc7 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 24 二月 2024 13:40:18 +0800
Subject: [PATCH] #
---
zy-asrs-common/src/main/resources/mapper/wms/LocMastMapper.xml | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-common/src/main/resources/mapper/wms/LocMastMapper.xml b/zy-asrs-common/src/main/resources/mapper/wms/LocMastMapper.xml
index 5ff005e..626241e 100644
--- a/zy-asrs-common/src/main/resources/mapper/wms/LocMastMapper.xml
+++ b/zy-asrs-common/src/main/resources/mapper/wms/LocMastMapper.xml
@@ -2,4 +2,37 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zy.asrs.common.wms.mapper.LocMastMapper">
+ <select id="queryFreeLocMast2" resultType="com.zy.asrs.common.wms.entity.LocMast">
+ select *
+ from common_loc_mast
+ where 1=1
+ and loc_sts='O'
+ <if test="locType1 != null">
+ and loc_type1 = #{locType1}
+ </if>
+ <if test="rowBeg != null">
+ and row1 >= #{rowBeg}
+ </if>
+ <if test="rowEnd != null">
+ and row1 <= #{rowEnd}
+ </if>
+ <if test="bayBeg != null">
+ and bay1 >= #{bayBeg}
+ </if>
+ <if test="bayEnd != null">
+ and bay1 <= #{bayEnd}
+ </if>
+ <if test="levBeg != null">
+ and lev1 >= #{levBeg}
+ </if>
+ <if test="levEnd != null">
+ and lev1 <= #{levEnd}
+ </if>
+ <if test="hostId != null">
+ and host_id = #{hostId}
+ </if>
+-- and loc_no not in ('0100101')
+ order by loc_sts desc ,lev1 asc,bay1 asc
+ </select>
+
</mapper>
--
Gitblit v1.9.1