自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-11-03 9f32f328bff4112086adceb82c96f9d44fc5ac2a
src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -28,8 +28,8 @@
    }
    @Override
    public List<Integer> getAvailableOutSite() {
        return this.baseMapper.getAvailableOutSite(101);
    public List<Integer> getAvailableOutSite(Integer typeNo) {
        return this.baseMapper.getAvailableOutSite(typeNo);
    }
    @Override
@@ -58,6 +58,9 @@
            if(station.getWrkNo()!=null && station.getWrkNo()>0) {
                throw new CoolException(devpNo+"站点已有工作号");
            }
            if(!station.getInEnable().equals("Y")) {
                throw new CoolException(devpNo+"站点不是可入状态");
            }
            if(wrkMastService.getWorkingMast(devpNo)>0){
                throw new CoolException(devpNo+"站点不能同时生成两笔入库工作档");
            }