自动化立体仓库 - WMS系统
lty
2025-01-09 aa9f5df9a7ea885dcc157e1dd86dc6ee3c10d488
src/main/resources/mapper/LocDetlMapper.xml
@@ -66,6 +66,12 @@
        <include refid="batchSeq"></include>
    </select>
    <select id="selectItemByLocNo" resultMap="BaseResultMap">
        select *
        from asr_loc_detl
        where loc_no = #{locNo}
    </select>
    <delete id="deleteItem">
        delete from asr_loc_detl
        where 1=1
@@ -123,6 +129,7 @@
            and b.loc_sts = 'F'
            <include refid="stockOutCondition"></include>
        ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
            order by appe_time
    </select>
    <select id="getStockOutPageCount" parameterType="java.util.Map" resultType="java.lang.Integer">
@@ -336,8 +343,8 @@
        INNER JOIN man_mat b ON a.matnr=#{matnrOld} AND b.matnr=#{matnr};
    </update>
    <select id="selectSameDetlTodayBatch" resultType="java.lang.String">
        SELECT ld.loc_no FROM asr_loc_detl ld
    <select id="selectSameDetlTodayBatch" resultMap="BaseResultMap">
        SELECT * FROM asr_loc_detl ld
        LEFT JOIN asr_loc_mast lm ON ld.loc_no = lm.loc_no
        WHERE 1 = 1
        AND ld.matnr = #{matnr}