This commit is contained in:
2026-01-05 13:36:15 +09:00
parent d86e70e27e
commit 8c149605e5
8 changed files with 295 additions and 371 deletions

View File

@@ -101,9 +101,9 @@ public class LabelAllocateDto {
private Integer stage;
@Schema(
description = "라벨러 할당 목록",
example =
"""
description = "라벨러 할당 목록",
example =
"""
[
{
"userId": "123456",
@@ -122,9 +122,9 @@ public class LabelAllocateDto {
private List<TargetUser> labelers;
@Schema(
description = "검수자 할당 목록",
example =
"""
description = "검수자 할당 목록",
example =
"""
["K20251216001",
"01022225555",
"K20251212001"
@@ -232,9 +232,9 @@ public class LabelAllocateDto {
private Integer stage;
@Schema(
description = "라벨러 할당 목록",
example =
"""
description = "라벨러 할당 목록",
example =
"""
[
{
"userId": "123456",
@@ -295,11 +295,10 @@ public class LabelAllocateDto {
String[] sortParams = sort.split(",");
String property = sortParams[0];
Sort.Direction direction =
sortParams.length > 1 ? Sort.Direction.fromString(sortParams[1]) : Sort.Direction.ASC;
sortParams.length > 1 ? Sort.Direction.fromString(sortParams[1]) : Sort.Direction.ASC;
return PageRequest.of(page, size, Sort.by(direction, property));
}
return PageRequest.of(page, size);
}
}
}

View File

@@ -67,23 +67,17 @@ public class WorkerStatsDto {
private Boolean isStagnated;
// 레거시 필드 (기존 호환성 유지)
@Deprecated
private Long doneCnt; // completed로 대체
@Deprecated private Long doneCnt; // completed로 대체
@Deprecated
private Long skipCnt; // skipped로 대체
@Deprecated private Long skipCnt; // skipped로 대체
@Deprecated
private Long remainingCnt; // remaining으로 대체
@Deprecated private Long remainingCnt; // remaining으로 대체
@Deprecated
private Long day3AgoDoneCnt; // history.day3Ago로 대체
@Deprecated private Long day3AgoDoneCnt; // history.day3Ago로 대체
@Deprecated
private Long day2AgoDoneCnt; // history.day2Ago로 대체
@Deprecated private Long day2AgoDoneCnt; // history.day2Ago로 대체
@Deprecated
private Long day1AgoDoneCnt; // history.day1Ago로 대체
@Deprecated private Long day1AgoDoneCnt; // history.day1Ago로 대체
}
@Getter
@@ -107,7 +101,6 @@ public class WorkerStatsDto {
private Long average;
}
@Getter
@Setter
@Builder