自动化立体仓库 - WMS系统
#
lty
2 天以前 a1db2ea6ccdafdffdf2ed4e52844179e72dc77a5
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
@@ -337,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}
@@ -403,4 +409,12 @@
        order by row1
    </select>
    <select id="getSameDetlList" resultType="java.lang.String">
        select ld.loc_no from asr_loc_detl as ld
        left join asr_loc_mast as lm on ld.loc_no = lm.loc_no
        where 1 = 1
        and ld.matnr = #{matnr}
        and lm.loc_sts = 'F'
        order by ld.appe_time asc
    </select>
</mapper>