라벨링작업 관리 목록조회 수정

This commit is contained in:
2026-01-05 10:37:17 +09:00
parent 6a77d0f447
commit 88cf9a4487
2 changed files with 8 additions and 5 deletions

View File

@@ -45,9 +45,10 @@ public class LabelWorkerApiController {
})
@GetMapping("/label-work-mng-list")
public ApiResponseDto<Page<LabelWorkMng>> labelWorkMngList(
@Schema(description = "변화탐지년도", example = "2024") Integer detectYyyy,
@Schema(description = "시작일", example = "20260101") String strtDttm,
@Schema(description = "종료", example = "20261201") String endDttm,
@Parameter(description = "변화탐지년도", example = "2024") @RequestParam(required = false)
Integer detectYyyy,
@Parameter(description = "시작", example = "20260101") @RequestParam String strtDttm,
@Parameter(description = "종료일", example = "20261201") @RequestParam String endDttm,
@Parameter(description = "페이지 번호 (0부터 시작)", example = "0") @RequestParam(defaultValue = "0")
int page,
@Parameter(description = "페이지 크기", example = "20") @RequestParam(defaultValue = "20")

View File

@@ -39,13 +39,15 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
compare_yyyy,
target_yyyy,
stage,
anal_title
anal_title,
detecting_cnt
)
SELECT
r.input1 AS compare_yyyy,
r.input2 AS target_yyyy,
r.stage,
CONCAT(r.stage ,'_', r.input1 ,'_', r.input2) AS anal_title
CONCAT(r.stage ,'_', r.input1 ,'_', r.input2) AS anal_title,
count(*)
FROM inference_results r
GROUP BY r.stage, r.input1, r.input2;
""";