| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.zy.asrs.wms.asrs.mapper.LocMapper"> |
| | | |
| | | </mapper> |
| | | <?xml version="1.0" encoding="UTF-8"?>
|
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| | | <mapper namespace="com.zy.asrs.wms.asrs.mapper.LocMapper">
|
| | |
|
| | | <select id="listBySts" resultType="long">
|
| | | select * from man_loc
|
| | | where loc_sts_id = #{sts}
|
| | | </select>
|
| | | <select id="getRecommendLocs" resultType="com.zy.asrs.wms.asrs.entity.Loc">
|
| | | SELECT id, loc_no, loc_sts_id, row1, bay1, lev1, barcode, `status`, flag FROM man_loc WHERE (loc_no LIKE '%B%' OR loc_no LIKE '%C%') AND loc_sts_id = 2 ORDER BY lev1 ASC LIMIT 1
|
| | | </select>
|
| | | </mapper>
|