| | |
| | | //找单品类型,最内侧空库位 |
| | | List<LocMast> findInEmptyLocMast(Short locType1, @Param("rows") List<Integer> rows, Integer crnNo); |
| | | |
| | | List<LocMast> findInEmptyLocMastNew(Short locType1, @Param("locNos") List<String> locNos, Integer crnNo); |
| | | |
| | | //在库位组中搜索可入的空库位 |
| | | List<LocMast> findEmptyLocMastByLocNos(Short locType1, @Param("locNos") List<String> locNos, Integer crnNo); |
| | | |
| | |
| | | //找单品类型,最内侧空库位 |
| | | List<LocMast> findInEmptyLocMast(Short locType1, List<Integer> rows, Integer crnNo); |
| | | |
| | | List<LocMast> findInEmptyLocMastNew(Short locType1, List<String> locNos, Integer crnNo); |
| | | |
| | | //在库位组中搜索可入的空库位 |
| | | List<LocMast> findEmptyLocMastByLocNos(Short locType1, List<String> locNos, Integer crnNo); |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> findInEmptyLocMastNew(Short locType1, List<String> locNos, Integer crnNo) { |
| | | return this.baseMapper.findInEmptyLocMastNew(locType1, locNos, crnNo); |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> findEmptyLocMastByLocNos(Short locType1, List<String> locNos, Integer crnNo) { |
| | | return this.baseMapper.findEmptyLocMastByLocNos(locType1, locNos, crnNo); |
| | | } |
| | |
| | | order by bay1,lev1,row1 |
| | | </select> |
| | | |
| | | <select id="findInEmptyLocMastNew" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast |
| | | where loc_type2 = 1 |
| | | and loc_type1 = #{locType1} |
| | | and loc_no in |
| | | <foreach item="item" collection="locNos" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | and loc_sts = 'O' |
| | | and crn_no = #{crnNo} |
| | | order by bay1,lev1,row1 |
| | | </select> |
| | | |
| | | <select id="findEmptyLocMastByLocNos" resultMap="BaseResultMap"> |
| | | select * from asr_loc_mast |
| | | where loc_type2 = 1 |