| | |
| | | <if test="crnNo == 3"> |
| | | and row1 in(6,7) |
| | | </if> |
| | | <if test="crnNo == 4"> |
| | | and row1 in(8,9) |
| | | </if> |
| | | ORDER BY lev1 ASC, bay1 ASC |
| | | </select> |
| | | <select id="queryLocByBarCode" resultType="com.zy.asrs.entity.LocMast"> |
| | |
| | | <select id="selectByBarcode" resultMap="BaseResultMap"> |
| | | SELECT * FROM asr_loc_mast where 1=1 and barcode = #{barcode} |
| | | </select> |
| | | <select id="selectOneByCrnNo" resultMap="BaseResultMap"> |
| | | SELECT * FROM asr_loc_mast where 1=1 and loc_sts = 'O' and crn_no = #{crnNo} order by lev1,bay1 |
| | | </select> |
| | | </mapper> |