| | |
| | | select * from dbo.asr_bas_devp where 1=1 |
| | | and loading = 'Y' |
| | | <if test="sour > 200"> |
| | | and (dev_no = 204 or dev_no = 208 or dev_no = 209) |
| | | and dev_no = 204 |
| | | </if> |
| | | <if test="sour < 200"> |
| | | and (dev_no = 104 or dev_no = 108 or dev_no = 109) |
| | | and dev_no = 104 |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | </select> |
| | | |
| | | <select id="selectWrkStsAndIoType" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and (io_type==103 or io_type==107) |
| | | select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and (io_type=103 or io_type=107) and crn_no=2 |
| | | <if test="sour > 200"> |
| | | and source_sta_no > 200 |
| | | </if> |