自动化立体仓库 - WMS系统
#
tqs
2023-02-07 6bf2d1d74115cc394315bb0efa5a9ea6ce5bd518
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