라벨링작업 관리 > 목록 조회 수정
This commit is contained in:
@@ -71,8 +71,10 @@ public class LabelWorkerApiController {
|
|||||||
public ApiResponseDto<Page<LabelWorkMng>> labelWorkMngList(
|
public ApiResponseDto<Page<LabelWorkMng>> labelWorkMngList(
|
||||||
@Parameter(description = "변화탐지년도", example = "2022-2024") @RequestParam(required = false)
|
@Parameter(description = "변화탐지년도", example = "2022-2024") @RequestParam(required = false)
|
||||||
String detectYear,
|
String detectYear,
|
||||||
@Parameter(description = "시작일", example = "20220101") @RequestParam String strtDttm,
|
@Parameter(description = "시작일", example = "20220101") @RequestParam(required = false)
|
||||||
@Parameter(description = "종료일", example = "20261201") @RequestParam String endDttm,
|
String strtDttm,
|
||||||
|
@Parameter(description = "종료일", example = "20261201") @RequestParam(required = false)
|
||||||
|
String endDttm,
|
||||||
@Parameter(description = "페이지 번호 (0부터 시작)", example = "0") @RequestParam(defaultValue = "0")
|
@Parameter(description = "페이지 번호 (0부터 시작)", example = "0") @RequestParam(defaultValue = "0")
|
||||||
int page,
|
int page,
|
||||||
@Parameter(description = "페이지 크기", example = "20") @RequestParam(defaultValue = "20")
|
@Parameter(description = "페이지 크기", example = "20") @RequestParam(defaultValue = "20")
|
||||||
|
|||||||
@@ -177,23 +177,6 @@ public class LabelWorkRepositoryImpl extends QuerydslRepositorySupport
|
|||||||
.limit(pageable.getPageSize())
|
.limit(pageable.getPageSize())
|
||||||
.fetch();
|
.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 =
|
Long total =
|
||||||
queryFactory
|
queryFactory
|
||||||
.select(mapSheetAnalInferenceEntity.uuid.countDistinct())
|
.select(mapSheetAnalInferenceEntity.uuid.countDistinct())
|
||||||
|
|||||||
Reference in New Issue
Block a user