自动化立体仓库 - WMS系统
whycq
2023-08-26 82bcd0328dddbaad65933e2fada22bc68e82b3d5
src/main/java/com/zy/asrs/mapper/LocMastMapper.java
@@ -34,10 +34,12 @@
    @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);