| | |
| | | </resultMap> |
| | | |
| | | <select id="selectByLocNo" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} |
| | | select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} and wrk_sts=11 |
| | | </select> |
| | | |
| | | <select id="selectToBeCompleteData" resultMap="BaseResultMap"> |
| | |
| | | </select> |
| | | |
| | | <select id="selectPickStep" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_wrk_mast where wrk_no=#{workNo} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104) |
| | | select top 1 * from asr_wrk_mast where barcode=#{barcode} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104) |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep1" resultMap="BaseResultMap"> |
| | |
| | | </select> |
| | | |
| | | <select id="selectWorking" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where wrk_sts=12 and crn_no=#{crnNo} order by io_time,wrk_no |
| | | select top 1 * from dbo.asr_wrk_mast where 1=1 and (wrk_sts=3 or wrk_sts=12) and crn_no=#{crnNo} order by io_time,wrk_no |
| | | </select> |
| | | |
| | | </mapper> |