bug修复
This commit is contained in:
parent
591ed8b390
commit
2bdeba22bc
|
|
@ -153,7 +153,7 @@ public class CheckEBomException {
|
||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
//是否存在重复物料
|
//是否存在重复物料
|
||||||
List<BomNewEbomParentVO> hasMaterialNoList = child.stream().filter(u -> StrUtil.isBlank(u.getMaterialNo())).collect(Collectors.toList());
|
List<BomNewEbomParentVO> hasMaterialNoList = child.stream().filter(u -> StrUtil.isNotBlank(u.getMaterialNo())).collect(Collectors.toList());
|
||||||
Map<String, List<BomNewEbomParentVO>> childMaterialMap = ListCommonUtil.listGroupMap(hasMaterialNoList, BomNewEbomParentVO::getMaterialNo);
|
Map<String, List<BomNewEbomParentVO>> childMaterialMap = ListCommonUtil.listGroupMap(hasMaterialNoList, BomNewEbomParentVO::getMaterialNo);
|
||||||
for (String key : childMaterialMap.keySet()) {
|
for (String key : childMaterialMap.keySet()) {
|
||||||
List<BomNewEbomParentVO> materialGroupList = childMaterialMap.get(key);
|
List<BomNewEbomParentVO> materialGroupList = childMaterialMap.get(key);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue