自动化立体仓库 - WMS系统
#
zjj
2024-12-06 eeadaf600bf7a2a753f3d3cfd945e3c51b1817d5
src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -33,8 +33,38 @@
    }
    @Override
    public List<Integer> getCrnAvailableOutSite(Integer typeNo) {
        return this.baseMapper.getCrnAvailableOutSite(typeNo);
    }
    @Override
    public List<Integer> getShuttleAvailableOutSite(Integer typeNo) {
        return this.baseMapper.getShuttleAvailableOutSite(typeNo);
    }
    @Override
    public List<Integer> getCtuAvailableOutSite(Integer typeNo) {
        return this.baseMapper.getCtuAvailableOutSite(typeNo);
    }
    @Override
    public List<Integer> getAvailableEmptyOutSite() {
        return this.baseMapper.getAvailableOutSite(110);
    }
    @Override
    public List<Integer> getCrnAvailableEmptyOutSite() {
        return this.baseMapper.getCrnAvailableOutSite(110);
    }
    @Override
    public List<Integer> getShuttleAvailableEmptyOutSite() {
        return this.baseMapper.getShuttleAvailableOutSite(110);
    }
    @Override
    public List<Integer> getCtuAvailableEmptyOutSite() {
        return this.baseMapper.getCtuAvailableOutSite(110);
    }
    @Override
@@ -55,9 +85,9 @@
            if(station.getLoading()==null || !station.getLoading().equals("Y")) {
                throw new CoolException(devpNo+"站点无物");
            }
            if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) {
                throw new CoolException(devpNo+"站点已有工作号");
            }
//            if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) {
//                throw new CoolException(devpNo+"站点已有工作号");
//            }
//            if(!station.getInEnable().equals("Y")) {
//                throw new CoolException(devpNo+"站点不是可入状态");
//            }