自动化立体仓库 - WMS系统
#
whycq
2023-09-05 e9f4a368fd3845a38eb54d3d18d77e96e5767b61
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -86,6 +86,22 @@
        }
        return res;
    }
    @Override
    public Boolean checkEmptyCount0(LocMast locMast, int quaOfBlank) {
        if (locMast == null) {
            return false;
        }
        Integer nowQua = 0;
        nowQua = this.baseMapper.selectEmptyLocCount0(locMast.getLocType1(), locMast.getLocType2(), locMast.getCrnNo());
        if (Cools.isEmpty(nowQua)) {
            nowQua = 0;
        }
        boolean res = nowQua > quaOfBlank;
        if (!res) {
            log.warn("{}号堆垛机库位不足,因滞留空库位{}个,目前空库位{}个", locMast.getCrnNo(), quaOfBlank, nowQua);
        }
        return res;
    }
    @Override
    public Boolean checkWhole(List<LocDetl> locDetls) {
@@ -206,6 +222,9 @@
    @Override
    public List<LocMast> findOutMast(Short locType1, List<Integer> crnNos) {
        if (crnNos.size() == 0) {
            return null;
        }
        return this.baseMapper.findOutMast(locType1, crnNos);
    }