| | |
| | | @Select("select count(*) as count from asr_loc_mast where 1=1 and loc_sts = 'O' and loc_type1 = #{locType1} and loc_type2 = #{locType2} and crn_no = #{crnNo}") |
| | | Integer selectEmptyLocCount(@Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("crnNo") Integer crnNo); |
| | | |
| | | Integer selectEmptyLocCount0(@Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("crnNo") Integer crnNo); |
| | | |
| | | void updateLocSts(@Param("locNo") String locNo,@Param("locSts") String locSts); |
| | | |
| | | //找外侧空库位 |
| | | List<LocMast> findOutMast(Short locType1, List<Integer> crnNos); |
| | | List<LocMast> findOutMast(Short locType1,@Param("crnNos") List<Integer> crnNos); |
| | | |
| | | //找单品类型,最内侧空库位 |
| | | List<LocMast> findInEmptyLocMast(Short locType1, @Param("rows") List<Integer> rows, Integer crnNo); |