#
zzgtfwq
2 天以前 d91d1fc34a8af84513416cb2a03c75d96fb0304e
src/main/resources/mapper/WrkMastMapper.xml
@@ -79,6 +79,11 @@
        select * from asr_wrk_mast where 1=1 and crn_no = #{crnNo}
    </select>
    <select id="selectByCrnNoLog"  resultMap="BaseResultMap">
        select * from asr_wrk_mast_log where 1=1 and crn_no = #{crnNo}
        order by io_time desc
    </select>
    <select id="selectToBeCompleteData" resultMap="BaseResultMap">
        select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,io_time,wrk_no
    </select>