自动化立体仓库 - WMS系统
13
zhang
2025-09-22 290b752cab63b7e813dcb493b5110b09829eff58
src/main/resources/mapper/LocMastMapper.xml
@@ -155,4 +155,19 @@
        and (bay1 >= #{startBay} and bay1 <= #{endBay})
        and (lev1 >= #{startLev} and lev1 <= #{endLev})
    </select>
    <select id="selectLocDetlNotExist" resultMap="BaseResultMap">
        select * from asr_loc_mast lm
        left join asr_loc_detl ld
        on lm.loc_no = ld.loc_no
        where ld.matnr is null and lm.loc_sts = 'F'
    </select>
    <delete id="clearLiftLocNo">
        update asr_loc_mast set loc_sts = 'S'
        where row1 >=1 and row1 &lt;= 16
        and bay1 in(21,22,23,37,38,39,56,57,58)
        and lev1 >= 1 and lev1 &lt;= 10
        and loc_sts = 'O'
    </delete>
</mapper>