| | |
| | | order by io_pri desc,wrk_sts desc |
| | | </select> |
| | | |
| | | <select id="selectByWorkNo59" resultMap="BaseResultMap"> |
| | | <select id="selectByWorkNo" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast |
| | | where wrk_no=#{workNo} |
| | | and wrk_sts in (5,9) |
| | | </select> |
| | | |
| | | <select id="selectLiftStep6" resultMap="BaseResultMap"> |
| | | <select id="selectLiftStep623" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast |
| | | where wrk_sts in (6) |
| | | where wrk_sts in (6,23) |
| | | and shuttle_no is not null |
| | | order by io_pri desc,wrk_sts desc |
| | | </select> |
| | | |
| | | <select id="selectByWorkNo7" resultMap="BaseResultMap"> |
| | | <select id="selectByWorkNo724" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast |
| | | where wrk_no=#{workNo} |
| | | and wrk_sts in (7) |
| | | and wrk_sts in (7,24) |
| | | </select> |
| | | |
| | | <select id="selectBy2125" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast |
| | | where wrk_sts in (21,25) |
| | | order by io_pri desc,wrk_sts desc |
| | | </select> |
| | | </mapper> |