From 9809222e212929036d4e16b2bf64789e47d69fca Mon Sep 17 00:00:00 2001 From: kjh Date: Wed, 22 Nov 2023 18:33:30 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20unitySndngMastrId=20=EC=A4=91=EB=B3=B5?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/kr/xit/biz/sisul/service/BizSisulService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9cb599d..be973c3 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;