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(