skyouc
2025-07-07 2a24c69b830d9dc97a8673f5f69418e9f95f3e1b
1
2
3
4
5
6
7
8
9
10
11
12
<?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>