추론 주석 추가
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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<Long> batchIds) {
|
||||
return inferenceResultsTestingRepository.getInferenceResultCnt(batchIds);
|
||||
}
|
||||
|
||||
@@ -7,5 +7,11 @@ public interface InferenceResultsTestingRepositoryCustom {
|
||||
|
||||
List<InferenceResultsTestingEntity> getInferenceResultList(List<Long> batchIds);
|
||||
|
||||
/**
|
||||
* 테스팅 테이블 조회하여 탐지건수 조회
|
||||
*
|
||||
* @param batchIds batchIds
|
||||
* @return batchIds 조회 count 수
|
||||
*/
|
||||
Long getInferenceResultCnt(List<Long> batchIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user