自动化立体仓库 - WMS系统
whycq
2023-08-26 82bcd0328dddbaad65933e2fada22bc68e82b3d5
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -91,7 +91,11 @@
        if (locMast == null) {
            return false;
        }
        Integer nowQua = this.baseMapper.selectEmptyLocCount0(locMast.getLocType1(), locMast.getLocType2(), locMast.getCrnNo());
        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);