| | |
| | | <result column="pre_have" property="preHave" /> |
| | | <result column="take_none" property="takeNone" /> |
| | | </resultMap> |
| | | <update id="updatePriorityByShallow"> |
| | | update asr_wrk_mast |
| | | set io_pri = 14 |
| | | where wrk_sts = 11 |
| | | and io_pri = 13 |
| | | and substring(source_loc_no,1,2) in ('02','03','06','07','10','11','14','15','18','19','22','23') |
| | | </update> |
| | | |
| | | <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,error_time,io_time,wrk_no |