| | |
| | | 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="selectpj" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where sta_no=#{staNo} and wrk_sts =14 and barcode=#{barcode} |
| | | select * from dbo.asr_wrk_mast where wrk_sts =14 and barcode=#{barcode} |
| | | </select> |
| | | |
| | | <select id="selectLaneWrkMastIn" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where wrk_sts=2 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> |
| | | |
| | | <select id="selectLaneWrkMastOut" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where wrk_sts in (11,12,13,14) and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | |
| | | <select id="selectByWrkNo" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where wrk_no = #{wrkNo} and (wrk_sts = 13 or wrk_sts = 2) order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | <select id="selectCrn5Task2" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where wrk_sts=1 and io_type=1 order by io_pri desc,io_time,wrk_no ASC |
| | | </select> |
| | | </mapper> |