| | |
| | | <result column="error_time" property="errorTime" /> |
| | | <result column="error_memo" property="errorMemo" /> |
| | | <result column="qr_code_value" property="qrCodeValue" /> |
| | | <result column="status" property="status" /> |
| | | <result column="barcode" property="barcode" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | select * from asr_loc_mast where loc_no = #{locNo} limit 0,1 |
| | | </select> |
| | | |
| | | <select id="queryByQrCode" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast where qr_code_value = #{qrCodeValue} limit 0,1 |
| | | </select> |
| | | |
| | | <select id="selectLocByLev" resultMap="BaseResultMap"> |
| | | SELECT * FROM asr_loc_mast WHERE lev1 = #{lev} |
| | | </select> |
| | | |
| | | <select id="selectEmptyLocNos" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast |
| | | where loc_no in |
| | | <foreach item="loc" collection="locNos" index="index" separator="," open="(" close=")"> |
| | | #{loc} |
| | | </foreach> |
| | | and loc_sts = 'O' |
| | | order by row1 |
| | | </select> |
| | | |
| | | <select id="selectNotEmptyLocNos" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast |
| | | where loc_no in |
| | | <foreach item="loc" collection="locNos" index="index" separator="," open="(" close=")"> |
| | | #{loc} |
| | | </foreach> |
| | | and loc_sts not in ('O') |
| | | order by row1 |
| | | <select id="getLevList" resultType="java.lang.Integer"> |
| | | select distinct lev1 from asr_loc_mast order by lev1 asc |
| | | </select> |
| | | </mapper> |