diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/domain/EBom/EBomToPbomBase.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/domain/EBom/EBomToPbomBase.java index 7bbbbf0b..3f98d9bd 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/domain/EBom/EBomToPbomBase.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/domain/EBom/EBomToPbomBase.java @@ -731,7 +731,7 @@ public abstract class EBomToPbomBase { getAllSubData(ImmutableList.of(parentVO.getBomRowId()), reusltSub); - return reusltSub; + return reusltSub.stream().distinct().collect(Collectors.toList()); } protected List getAllSubInListIncludeSelf(BomNewEbomParentVO parentVO, List list) { @@ -740,7 +740,7 @@ public abstract class EBomToPbomBase { getAllSubData(ImmutableList.of(parentVO.getBomRowId()), reusltSub, list); - return reusltSub; + return reusltSub.stream().distinct().collect(Collectors.toList()); }