라벨 재할당 로직 수정, 배치로 재배치는 나중에
This commit is contained in:
@@ -229,34 +229,20 @@ public class LabelAllocateDto {
|
||||
@AllArgsConstructor
|
||||
public static class AllocateMoveDto {
|
||||
|
||||
@Schema(description = "회차", example = "4")
|
||||
private Integer stage;
|
||||
@Schema(description = "총 잔여 건수", example = "5061")
|
||||
private Integer totalCnt;
|
||||
|
||||
@Schema(
|
||||
description = "이관할 라벨러 할당량",
|
||||
example =
|
||||
"""
|
||||
description = "이관할 라벨러",
|
||||
example = """
|
||||
[
|
||||
{
|
||||
"userId": "123456",
|
||||
"demand": 10
|
||||
},
|
||||
{
|
||||
"userId": "010222297501",
|
||||
"demand": 5
|
||||
}
|
||||
"87654321"
|
||||
]
|
||||
""")
|
||||
private List<TargetUser> labelers;
|
||||
private List<String> labelers;
|
||||
|
||||
@Schema(description = "비교년도-기준년도", example = "2022-2024")
|
||||
private String yyyy;
|
||||
|
||||
// @Schema(description = "비교년도", example = "2022")
|
||||
// private Integer compareYyyy;
|
||||
//
|
||||
// @Schema(description = "기준년도", example = "2024")
|
||||
// private Integer targetYyyy;
|
||||
@Schema(description = "회차 마스터 key", example = "f97dc186-e6d3-4645-9737-3173dde8dc64")
|
||||
private String uuid;
|
||||
|
||||
@Schema(description = "대상 사번", example = "01022223333")
|
||||
private String userId;
|
||||
@@ -269,6 +255,7 @@ public class LabelAllocateDto {
|
||||
|
||||
private Long geoUid;
|
||||
private Long mapSheetNum;
|
||||
private Long pnu;
|
||||
}
|
||||
|
||||
@Getter
|
||||
@@ -320,4 +307,13 @@ public class LabelAllocateDto {
|
||||
private Long remainCnt;
|
||||
private Double percent;
|
||||
}
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public static class MoveInfo {
|
||||
|
||||
private Long totalCnt;
|
||||
private List<MoveUserList> moveUserList;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.kamco.cd.kamcoback.label.dto;
|
||||
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.UUID;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
public class LabelLabelerDto {
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public static class Basic {
|
||||
|
||||
private UUID lbUsrUid;
|
||||
private Long analUid;
|
||||
private String workerUid;
|
||||
private Long allocateCnt;
|
||||
private Boolean deleted;
|
||||
private Boolean reAllocateYn;
|
||||
private Long reAllocateCnt;
|
||||
private String reAllocateWorkerUid;
|
||||
private ZonedDateTime createdDttm;
|
||||
private ZonedDateTime updatedDttm;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user