自动化立体仓库 - WMS系统
whycq
2023-07-24 b7e08df5a07b3fa832a46ecc31983e16f2bccc8c
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -18,8 +18,13 @@
    private RowLastnoService rowLastnoService;
    @Override
    public LocMast queryFreeLocMast(Integer row) {
        return this.baseMapper.queryFreeLocMast(row);
    public List<Integer> queryDistinctRow(Integer crnNo) {
        return this.baseMapper.queryDistinctRow(crnNo);
    }
    @Override
    public LocMast queryFreeLocMast(Integer row, Short locType1, Short locType2, Short locType3) {
        return this.baseMapper.queryFreeLocMast(row, locType1, locType2, locType3);
    }
    @Override
@@ -33,4 +38,48 @@
        }
        return this.baseMapper.queryGroupEmptyStock(sourceStock.getCrnNo());
    }
    @Override
    public Boolean checkEmptyCount(LocMast locMast) {
        if (locMast == null) {
            return false;
        }
        return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getLocType2(), locMast.getLocType3(), locMast.getCrnNo()) > 1;
    }
    @Override
    public LocMast queryFreeLocMastIncludeFirst(Integer row, Short locType1, Short locType2, Short locType3) {
        return this.baseMapper.queryFreeLocMastIncludeFirst(row, locType1, locType2, locType3);
    }
    @Override
    public LocMast queryFreeLocMastExceptFirst(Integer row, Short locType1, Short locType2, Short locType3) {
        return this.baseMapper.queryFreeLocMastExceptFirst(row, locType1, locType2, locType3);
    }
    @Override
    public List<LocMast> queryShallowLocFMast() {
        return this.baseMapper.queryShallowLocFMast();
    }
    @Override
    public List<LocMast> queryNeedMoveShallLocF() {
        return this.baseMapper.queryNeedMoveShallLocF();
    }
    @Override
    public List<LocMast> queryNeedMoveShallLocD() {
        return this.baseMapper.queryNeedMoveShallLocD();
    }
    @Override
    public LocMast queryEmptyDeepLoc() {
        return this.baseMapper.queryEmptyDeepLoc();
    }
    @Override
    public List<LocMast> queryDeepLocDMast() {
        return this.baseMapper.queryDeepLocDMast();
    }
}