From 239f9ecab65084c768fc6e366e6640808cac5d52 Mon Sep 17 00:00:00 2001 From: teddy Date: Mon, 5 Jan 2026 17:03:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EB=B2=A8=EB=A7=81=EC=9E=91=EC=97=85?= =?UTF-8?q?=20=EA=B4=80=EB=A6=AC=20>=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../label/LabelWorkerApiController.java | 6 ++++-- .../label/LabelWorkRepositoryImpl.java | 17 ----------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/main/java/com/kamco/cd/kamcoback/label/LabelWorkerApiController.java b/src/main/java/com/kamco/cd/kamcoback/label/LabelWorkerApiController.java index 3d85d264..4a1fc508 100644 --- a/src/main/java/com/kamco/cd/kamcoback/label/LabelWorkerApiController.java +++ b/src/main/java/com/kamco/cd/kamcoback/label/LabelWorkerApiController.java @@ -71,8 +71,10 @@ public class LabelWorkerApiController { public ApiResponseDto> labelWorkMngList( @Parameter(description = "변화탐지년도", example = "2022-2024") @RequestParam(required = false) String detectYear, - @Parameter(description = "시작일", example = "20220101") @RequestParam String strtDttm, - @Parameter(description = "종료일", example = "20261201") @RequestParam String endDttm, + @Parameter(description = "시작일", example = "20220101") @RequestParam(required = false) + String strtDttm, + @Parameter(description = "종료일", example = "20261201") @RequestParam(required = false) + String endDttm, @Parameter(description = "페이지 번호 (0부터 시작)", example = "0") @RequestParam(defaultValue = "0") int page, @Parameter(description = "페이지 크기", example = "20") @RequestParam(defaultValue = "20") diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/label/LabelWorkRepositoryImpl.java b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/label/LabelWorkRepositoryImpl.java index c4010415..3509c8b4 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/label/LabelWorkRepositoryImpl.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/label/LabelWorkRepositoryImpl.java @@ -177,23 +177,6 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport .limit(pageable.getPageSize()) .fetch(); - /* - Long countQuery = - queryFactory - .select(mapSheetAnalDataInferenceEntity.count()) - .from(mapSheetAnalDataInferenceEntity) - .leftJoin(mapSheetAnalDataInferenceGeomEntity) - .on(whereSubBuilder) - .where(whereBuilder) - .groupBy( - mapSheetAnalDataInferenceEntity.compareYyyy, - mapSheetAnalDataInferenceEntity.targetYyyy, - mapSheetAnalDataInferenceEntity.stage - ) - .fetchOne(); - - */ - Long total = queryFactory .select(mapSheetAnalInferenceEntity.uuid.countDistinct())