自动化立体仓库 - WMS系统
#
LSH
2023-11-17 b4ffbe0d45e17bd4a4f79c6201e92cc9d3091cb8
src/main/java/com/zy/asrs/mapper/LocMastMapper.java
@@ -17,6 +17,8 @@
    List<Integer> queryDistinctRow(@Param("crnNo")Integer crnNo);
    LocMast queryFreeLocMast(@Param("row") Integer row, @Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("locType3") Short locType3);
    LocMast queryFreeLocMastIncludeFirst(@Param("row") Integer row, @Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("locType3") Short locType3);
    LocMast queryFreeLocMastExceptFirst(@Param("row") Integer row, @Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("locType3") Short locType3);
    @Select("select loc_no from asr_loc_mast where 1=1 and loc_sts = 'O' and crn_no = #{crnNo}")
    List<String> queryGroupEmptyStock(Integer crnNo);
@@ -26,4 +28,13 @@
        "and (loc_type2 is null or loc_type2 = #{locType2}) and (loc_type3 is null or loc_type3 = #{locType3}) ")
    Integer selectEmptyLocCount(@Param("locType1") Short locType1, @Param("locType2") Short locType2, @Param("locType3") Short locType3, @Param("crnNo") Integer crnNo);
    List<LocMast> queryShallowLocFMast();
    List<LocMast> queryNeedMoveShallLocF();
    List<LocMast> queryNeedMoveShallLocD();
    LocMast queryEmptyDeepLoc();
    List<LocMast> queryDeepLocDMast();
}