#
zzgtfwq
6 小时以前 d635a99e20e207b40b16b8536c02a0b74df63c61
src/main/resources/mapper/WrkMastMapper.xml
@@ -119,7 +119,9 @@
    <select id="selectPakInStep5" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where sta_no=#{staNo} and wrk_sts = 14 and io_type>100 and sheet_no!=#{sheetNo}
    </select>
    <select id="selectPakInStep6" resultMap="BaseResultMap">
        select top 1 * from dbo.asr_wrk_mast where barcode=#{barcode} and wrk_sts = 14
    </select>
    <select id="selectPakInStep12" resultMap="BaseResultMap">
        select * from dbo.asr_wrk_mast where wrk_sts=2 and crn_no=#{crnNo} and (io_type=1 or io_type=10 or io_type=53 or io_type=54 or io_type=57) order by io_pri desc,io_time,wrk_no ASC
    </select>