自动化立体仓库 - WMS系统
whycq
2024-06-04 ed0a79ffec5d25dae6b0b24393c331ab36d7d50b
src/main/java/com/zy/asrs/service/impl/BasDevpServiceImpl.java
@@ -59,15 +59,16 @@
            if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) {
                WrkMast wrkMast = wrkMastService.selectById(station.getWrkNo());
                if (wrkMast.getIoType() != 103 && wrkMast.getIoType() != 104 && wrkMast.getIoType() != 107) {
                    throw new CoolException(devpNo+"站点已有工作号");
                if (wrkMast != null) {
                    if (wrkMast.getIoType() != 103 && wrkMast.getIoType() != 104 && wrkMast.getIoType() != 107) {
                        throw new CoolException(devpNo+"站点已有工作号");
                    }
                }
            }
//            if(!station.getInEnable().equals("Y")) {
//                throw new CoolException(devpNo+"站点不是可入状态");
//            }
            if(wrkMastService.getWorkingMast(devpNo)>0){
            if(wrkMastService.getWorkingMast(devpNo) > 0){
                throw new CoolException(devpNo+"站点不能同时生成两笔入库工作档");
            }
        }