라벨할당 검수자 insert 로직 수정

This commit is contained in:
2026-01-05 11:46:21 +09:00
parent 88cf9a4487
commit b4ae6e148d
8 changed files with 190 additions and 184 deletions

View File

@@ -87,22 +87,13 @@ public class LabelAllocateDto {
@AllArgsConstructor
public static class AllocateDto {
// @Schema(description = "분석 ID", example = "3")
// private Long analUid;
@Schema(description = "비교년도", example = "2022", required = true)
private Integer compareYyyy;
@Schema(description = "기준년도", example = "2024", required = true)
private Integer targetYyyy;
@Schema(description = "라벨러 자동/수동여부(AUTO/MANUAL)", example = "AUTO")
private String labelerAutoType;
@Schema(description = "검수자 자동/수동여부(AUTO/MANUAL)", example = "AUTO")
private String inspectorAutoType;
@Schema(description = "회차", example = "4")
@Schema(description = "회차", example = "4", required = true)
private Integer stage;
@Schema(
@@ -130,22 +121,12 @@ public class LabelAllocateDto {
description = "검수자 할당 목록",
example =
"""
[
{
"inspectorUid": "K20251216001",
"userCount": 1000
},
{
"inspectorUid": "01022225555",
"userCount": 340
},
{
"inspectorUid": "K20251212001",
"userCount": 500
}
["K20251216001",
"01022225555",
"K20251212001"
]
""")
private List<TargetInspector> inspectors;
private List<String> inspectors;
}
@Getter
@@ -273,6 +254,6 @@ public class LabelAllocateDto {
public static class AllocateInfoDto {
private Long geoUid;
private String mapSheetNum;
private Long mapSheetNum;
}
}

View File

@@ -0,0 +1,22 @@
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 LabelInspectorDto {
@Getter
@Setter
@AllArgsConstructor
public static class Basic {
private UUID operatorUid;
private Long analUid;
private String inspectorUid;
private ZonedDateTime createdDttm;
private ZonedDateTime updatedDttm;
}
}