自动化立体仓库 - WMS系统
pang.jiabao
1 天以前 fc12e6bbc12d0346076fefe7320e99fd14d13193
src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -49,6 +49,9 @@
            throw new CoolException(devpNo + "站点不存在");
        }
        if (pakin) {
            if(station.getCanining()==null || !station.getCanining().equals("Y")) {
                throw new CoolException(devpNo+"站点不是能入状态");
            }
            if (station.getAutoing() == null || !station.getAutoing().equals("Y")) {
                throw new CoolException(devpNo + "站点不是自动状态");
            }
@@ -58,9 +61,9 @@
            if (station.getWrkNo() != null && station.getWrkNo() > 0 && station.getWrkNo() < 9990) {
                throw new CoolException(devpNo + "站点已有工作号");
            }
//            if(!station.getInEnable().equals("Y")) {
//                throw new CoolException(devpNo+"站点不是可入状态");
//            }
            if(!station.getInEnable().equals("Y")) {
                throw new CoolException(devpNo+"站点不是可入状态");
            }
            if (wrkMastService.getWorkingMast(devpNo) > 0) {
                throw new CoolException(devpNo + "站点不能同时生成两笔入库工作档");
            }