自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-09-27 ccaf80f21ea0a8375324df6bb2250b9ad11c5cdd
src/main/resources/mapper/WrkMastMapper.xml
@@ -78,4 +78,22 @@
        order by io_time,wrk_no asc
    </select>
    <select id="selectByLocNoOfPakin" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_mast
        where 1=1
        and io_type &lt; 100 and io_type != 11
        and loc_no = #{locNo}
        and wrk_sts &lt; 9
    </select>
    <select id="selectBySourceLocNoOfPakout" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_mast
        where 1=1
        and io_type > 100
        and source_loc_no = #{sourceLocNo}
        and wrk_sts &lt; 17
    </select>
</mapper>