自动化立体仓库 - WMS系统
1
zhang
2025-09-13 25c7cdf3ea9c4e63f16bbb52ce40e28bc65dc87c
src/main/resources/mapper/LocMastMapper.xml
@@ -33,11 +33,15 @@
        <result column="inv_wh" property="invWh" />
        <result column="mk" property="mk" />
        <result column="barcode" property="barcode" />
        <result column="Pdc_type" property="PdcType" />
        <result column="ctn_no" property="ctnNo" />
    </resultMap>
    <select id="selectAreaEmpty" resultMap="BaseResultMap">
        select * from asr_loc_mast
        where loc_sts in ('O')
          and loc_type1 = #{locType1}
        ORDER BY lev1,bay1,row1
    </select>
    <select id="queryFreeLocMast" resultMap="BaseResultMap">
        select top 1 *
        from asr_loc_mast
@@ -48,7 +52,10 @@
        </if>
        order by loc_sts desc ,lev1 asc,bay1 asc
    </select>
    <select id="selectByLoc" resultMap="BaseResultMap">
        select * from asr_loc_mast
        where loc_no = #{locNo}
    </select>
    <select id="queryShallowLocFMast" resultMap="BaseResultMap">
        select * from asr_loc_mast
        where 1=1