lty
2025-08-21 924d0d98c49c324669ba9dc5158b2141416447cc
src/main/resources/mapper/WrkMastMapper.xml
@@ -185,6 +185,12 @@
    <select id="selectPakoutEmpty" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where  io_type = 110 and sta_no = #{staNo} order by io_time,wrk_no
    </select>
    <select id="countPakOutEmpty" resultType="int">
        select count(*)
        from dbo.asr_wrk_mast
        where io_type = 110 and sta_no = #{staNo}
    </select>
    <select id="selectPickStep2" resultMap="BaseResultMap">
        select top 1 * from asr_wrk_mast where barcode = #{barcode} and (wrk_sts=14 and io_type=107) or (wrk_sts=2 and io_type=57)
    </select>