From bc5c5b3dd75bda4dda5a1fb01542be7948e77b37 Mon Sep 17 00:00:00 2001 From: teddy Date: Fri, 30 Jan 2026 17:49:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EB=A1=A0=EC=8B=A4=ED=96=89=20?= =?UTF-8?q?=ED=8D=BC=EC=84=BC=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/kamcoback/postgres/core/InferenceResultCoreService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/core/InferenceResultCoreService.java b/src/main/java/com/kamco/cd/kamcoback/postgres/core/InferenceResultCoreService.java index b857776f..e94d859c 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/core/InferenceResultCoreService.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/core/InferenceResultCoreService.java @@ -83,6 +83,7 @@ public class InferenceResultCoreService { * @param req */ public UUID saveInferenceInfo(InferenceResultDto.RegReq req, List targetList) { + List distinctList = targetList.stream() .filter(dto -> dto.getMapSheetName() != null && !dto.getMapSheetName().isBlank()) @@ -120,7 +121,7 @@ public class InferenceResultCoreService { mapSheetLearnEntity.setCreatedUid(userUtil.getId()); mapSheetLearnEntity.setMapSheetCnt(mapSheetName); mapSheetLearnEntity.setDetectingCnt(0L); - mapSheetLearnEntity.setTotalJobs((long) detectingCnt); + mapSheetLearnEntity.setTotalJobs((long) targetList.size()); // 회차는 국유인 반영할때 update로 변경됨 // mapSheetLearnEntity.setStage( -- 2.49.1