| | |
| | | and (bay1 >= #{startBay} and bay1 <= #{endBay}) |
| | | and (lev1 >= #{startLev} and lev1 <= #{endLev}) |
| | | </select> |
| | | |
| | | <select id="selectLocDetlNotExist" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast lm |
| | | left join asr_loc_detl ld |
| | | on lm.loc_no = ld.loc_no |
| | | where ld.matnr is null and lm.loc_sts = 'F' |
| | | </select> |
| | | |
| | | <delete id="clearLiftLocNo"> |
| | | update asr_loc_mast set loc_sts = 'S' |
| | | where row1 >=1 and row1 <= 16 |
| | | and bay1 in(21,22,23,37,38,39,56,57,58) |
| | | and lev1 >= 3 and lev1 <= 10 |
| | | and loc_sts = 'O' |
| | | </delete> |
| | | </mapper> |