自动化立体仓库 - WMS系统
Administrator
20 小时以前 3d3fc58d20b03ad3a5bd6a40975608c8c8bf9e4c
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -1246,6 +1246,10 @@
                HashMap<String, Object> xx = new HashMap<>();
                List<GwmsGenerateInventoryDto.MatList> matList = param.getMatList();
                for (GwmsGenerateInventoryDto.MatList obj : matList) {
                    int zpalletCount2 = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("brand", obj.getPackageGroupNo()));
                    if (zpalletCount2 > 0) {
                        throw new CoolException("包装组号已存在:" + obj.getPackageGroupNo());
                    }
                    if (xx.get(obj.getPackageGroupNo()) != null) {
                        throw new CoolException("明细中存在2条相同的包装组号:" + obj.getPackageGroupNo());
                    } else {