自动化立体仓库 - WMS系统
luxiaotao1123
2023-02-08 4c1aba49902ca939f17b11a3c43fde5fb4c41597
src/main/resources/mapper/LocMastMapper.xml
@@ -198,6 +198,25 @@
        order by loc_sts desc ,lev1 asc,bay1 asc
    </select>
    <select id="queryFreeLocMastEnd1" resultMap="BaseResultMap">
        select *
        from asr_loc_mast
        where row1=#{row}
        and loc_sts='O'
        <if test="locType1 != null">
            and loc_type1 = #{locType1}
        </if>
        <choose>
            <when test="inoutEveryday != null and inoutEveryday">
                AND bay1 &lt; 11             </when>
            <otherwise>
                AND bay1 >= 11
            </otherwise>
        </choose>
        and loc_no not in ('0100101', '0200101', '0300101', '1200701', '1300701', '1400701', '1900401', '2000401', '2100401')
        order by loc_sts desc ,lev1 asc,bay1 asc
    </select>
    <select id="queryFreeLocMastEnd0" resultMap="BaseResultMap">
        select *
        from asr_loc_mast