diff --git a/src/main/java/com/kamco/cd/kamcoback/config/SecurityConfig.java b/src/main/java/com/kamco/cd/kamcoback/config/SecurityConfig.java index 83585d18..1db8aec8 100644 --- a/src/main/java/com/kamco/cd/kamcoback/config/SecurityConfig.java +++ b/src/main/java/com/kamco/cd/kamcoback/config/SecurityConfig.java @@ -111,6 +111,7 @@ public class SecurityConfig { .requestMatchers( "/api/user/**", "/api/my/menus", + "/api/members/*/password", "/api/training-data/label/**", "/api/training-data/review/**") .authenticated() 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 a65930bc..fde336b7 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 @@ -283,7 +283,7 @@ public class InferenceResultCoreService { .distinct() // 중복 방지 (선택) .toList(); - // testing 추론결과 테이블 조회하여 탐지 개수 업데이트 + // testing 테이블 추론결과 테이블 조회하여 탐지 개수 업데이트 Long testing = getInferenceResultCnt(batchIds); // 공통 영역 업데이트 @@ -535,6 +535,12 @@ public class InferenceResultCoreService { return list.stream().map(InferenceResultsTestingEntity::toDto).toList(); } + /** + * 테스팅 테이블 조회하여 탐지건수 조회 + * + * @param batchIds batchIds + * @return batchIds 조회 count 수 + */ public Long getInferenceResultCnt(List batchIds) { return inferenceResultsTestingRepository.getInferenceResultCnt(batchIds); } diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultsTestingRepositoryCustom.java b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultsTestingRepositoryCustom.java index 79326d61..ee8e13fd 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultsTestingRepositoryCustom.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultsTestingRepositoryCustom.java @@ -7,5 +7,11 @@ public interface InferenceResultsTestingRepositoryCustom { List getInferenceResultList(List batchIds); + /** + * 테스팅 테이블 조회하여 탐지건수 조회 + * + * @param batchIds batchIds + * @return batchIds 조회 count 수 + */ Long getInferenceResultCnt(List batchIds); }