自动化立体仓库 - WMS系统
#
Junjie
2024-04-02 0c45c200a1977c66096af34bb0480744c8d3c76f
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 >= 3 and lev1 &lt;= 10
        and loc_sts = 'O'
    </delete>
</mapper>