| | |
| | | where wrk_no=#{workNo} |
| | | </select> |
| | | |
| | | <select id="selectLiftStep62327" resultMap="BaseResultMap"> |
| | | <select id="selectLiftStep262327" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast |
| | | where wrk_sts in (6,23,27) |
| | | and shuttle_no is not null |
| | | where 1=1 |
| | | and (wrk_sts in (6,23,27) |
| | | and shuttle_no is not null) |
| | | or (wrk_sts in (2) |
| | | and shuttle_no is null) |
| | | order by io_pri desc,wrk_sts desc |
| | | </select> |
| | | |
| | | <select id="selectByWorkNo72428" resultMap="BaseResultMap"> |
| | | <select id="selectByWorkNo372428" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast |
| | | where wrk_no=#{workNo} |
| | | and wrk_sts in (7,24,28) |
| | | and wrk_sts in (3,7,24,28) |
| | | </select> |
| | | |
| | | <select id="selectBy2125" resultMap="BaseResultMap"> |