diff --git a/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java b/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java index 3517e9a..7cb7723 100644 --- a/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java +++ b/mens-api/src/main/java/kr/xit/biz/sisul/service/BizSisulService.java @@ -95,7 +95,8 @@ public class BizSisulService extends AbstractService implements IBizSisulService checkValidated(fmcExcels); //23.11.22 jhseo: 하나의 엑셀에 unitySndngMastrId 여러개일 경우 동일한 unitySndngMastrId Row만 처리 - List unitySndngMastrIds = fmcExcels.stream().map(FmcInfExcel::getUnitySndngMastrId).collect(Collectors.toList()); + List unitySndngMastrIdList = fmcExcels.stream().map(FmcInfExcel::getUnitySndngMastrId).collect(Collectors.toList()); + List unitySndngMastrIds = unitySndngMastrIdList.stream().distinct().collect(Collectors.toList()); for (String unitySndngMastrId : unitySndngMastrIds){ String tmplatId = ""; int excelCnt = 0;