라벨할당 로직에 도엽 추가, 라벨러 상세 정보 수정

This commit is contained in:
2026-01-05 09:55:02 +09:00
parent 1cab1a34ab
commit 40daa738f6
6 changed files with 107 additions and 63 deletions

View File

@@ -109,42 +109,42 @@ public class LabelAllocateDto {
description = "라벨러 할당 목록",
example =
"""
[
{
"userId": "123456",
"demand": 1000
},
{
"userId": "010222297501",
"demand": 400
},
{
"userId": "01022223333",
"demand": 440
}
]
""")
[
{
"userId": "123456",
"demand": 1000
},
{
"userId": "010222297501",
"demand": 400
},
{
"userId": "01022223333",
"demand": 440
}
]
""")
private List<TargetUser> labelers;
@Schema(
description = "검수자 할당 목록",
example =
"""
[
{
"inspectorUid": "K20251216001",
"userCount": 1000
},
{
"inspectorUid": "01022225555",
"userCount": 340
[
{
"inspectorUid": "K20251216001",
"userCount": 1000
},
{
"inspectorUid": "K20251212001",
"userCount": 500
}
]
""")
{
"inspectorUid": "01022225555",
"userCount": 340
},
{
"inspectorUid": "K20251212001",
"userCount": 500
}
]
""")
private List<TargetInspector> inspectors;
}
@@ -227,6 +227,9 @@ public class LabelAllocateDto {
private Long completeCnt;
private Long skipCnt;
private Double percent;
private Integer ranking;
private ZonedDateTime createdDttm;
private String inspectorName;
}
@Getter
@@ -244,17 +247,17 @@ public class LabelAllocateDto {
description = "라벨러 할당 목록",
example =
"""
[
{
"userId": "123456",
"demand": 10
},
{
"userId": "010222297501",
"demand": 5
}
]
""")
[
{
"userId": "123456",
"demand": 10
},
{
"userId": "010222297501",
"demand": 5
}
]
""")
private List<TargetUser> labelers;
@Schema(description = "비교년도", example = "2022")
@@ -263,4 +266,13 @@ public class LabelAllocateDto {
@Schema(description = "기준년도", example = "2024")
private Integer targetYyyy;
}
@Getter
@Setter
@AllArgsConstructor
public static class AllocateInfoDto {
private Long geoUid;
private String mapSheetNum;
}
}