| | |
| | | <select id="selectExistInEmpty" resultType="java.lang.Integer"> |
| | | SELECT COUNT(*) FROM dbo.asr_wrk_mast Where io_type = 10 and wrk_sts in (1,2,3) |
| | | </select> |
| | | <select id="selectTop1" resultType="BaseResultMap"> |
| | | select top 1* from dbo.asr_wrk_mast Where 1=1 |
| | | <select id="selectWaitPakIn" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast Where 1=1 |
| | | and wrk_no in |
| | | <foreach collection="wrkNo" index="index" item="item" open="(" close=")" separator=","> |
| | | <foreach collection="wrkNos" index="index" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | and wrk_sts == 2 |
| | | and wrk_sts = 2 and io_type in (1,10,53,57) |
| | | order by io_pri desc,io_time desc,wrk_no ASC |
| | | </select> |
| | | </mapper> |