| | |
| | | order by io_pri desc, io_time, wrk_no asc limit 0,1 |
| | | </select> |
| | | |
| | | <select id="selectShuttleWorking2" resultMap="BaseResultMap"> |
| | | select * |
| | | from asr_wrk_mast |
| | | where 1 = 1 |
| | | and shuttle_no = #{shuttleNo} |
| | | <if test="wrkNo !=null"> |
| | | and wrk_no != #{wrkNo} |
| | | </if> |
| | | <if test="wrkNo2 !=null"> |
| | | and wrk_no != #{wrkNo2} |
| | | </if> |
| | | order by io_pri desc, io_time, wrk_no asc limit 0,1 |
| | | </select> |
| | | |
| | | <select id="selectByBarcode" resultMap="BaseResultMap"> |
| | | select * |
| | | from asr_wrk_mast |
| | |
| | | order by io_pri desc, io_time, wrk_no asc |
| | | </select> |
| | | |
| | | <select id="selectWorkingPakout" resultMap="BaseResultMap"> |
| | | select * |
| | | from asr_wrk_mast |
| | | where io_type = 101 |
| | | and sta_no = #{staNo} limit 0,1 |
| | | </select> |
| | | |
| | | <select id="selectWorkingPakin" resultMap="BaseResultMap"> |
| | | select * |
| | | from asr_wrk_mast |
| | | where io_type = 1 |
| | | and source_sta_no = #{staNo} limit 0,1 |
| | | </select> |
| | | |
| | | </mapper> |