| | |
| | | if (barcodeCount > 0) { |
| | | throw new CoolException("工作档已存在该托盘码:" + param.getBarcode()); |
| | | } |
| | | if (!Cools.isEmpty(param.getMatList())) { |
| | | HashMap<String, Object> xx = new HashMap<>(); |
| | | List<GwmsGenerateInventoryDto.MatList> matList = param.getMatList(); |
| | | for (GwmsGenerateInventoryDto.MatList obj : matList) { |
| | | if (xx.get(obj.getPackageGroupNo()) != null) { |
| | | throw new CoolException("明细中存在2条相同的包装组号:" + obj.getPackageGroupNo()); |
| | | } else { |
| | | xx.put(obj.getPackageGroupNo(), obj); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | LocTypeDto locTypeDto = new LocTypeDto(); |
| | | locTypeDto.setLocType1((short) 1); |