라벨할당 검수자 insert 로직 수정
This commit is contained in:
@@ -122,8 +122,6 @@ public class LabelAllocateApiController {
|
||||
|
||||
return ApiResponseDto.okObject(
|
||||
labelAllocateService.allocateAsc(
|
||||
dto.getLabelerAutoType(),
|
||||
dto.getInspectorAutoType(),
|
||||
dto.getStage(),
|
||||
dto.getLabelers(),
|
||||
dto.getInspectors(),
|
||||
@@ -140,13 +138,13 @@ public class LabelAllocateApiController {
|
||||
})
|
||||
@GetMapping("/stage-detail")
|
||||
public ApiResponseDto<InferenceDetail> findInferenceDetail(
|
||||
@Parameter(description = "비교년도", required = true, example = "2022") @RequestParam
|
||||
Integer compareYyyy,
|
||||
@Parameter(description = "기준년도", required = true, example = "2024") @RequestParam
|
||||
Integer targetYyyy,
|
||||
@Parameter(description = "회차", required = true, example = "4") @RequestParam Integer stage) {
|
||||
return ApiResponseDto.ok(
|
||||
labelAllocateService.findInferenceDetail(compareYyyy, targetYyyy, stage));
|
||||
@Parameter(
|
||||
description = "회차 마스터 key",
|
||||
required = true,
|
||||
example = "8584e8d4-53b3-4582-bde2-28a81495a626")
|
||||
@RequestParam
|
||||
String uuid) {
|
||||
return ApiResponseDto.ok(labelAllocateService.findInferenceDetail(uuid));
|
||||
}
|
||||
|
||||
@Operation(
|
||||
@@ -154,14 +152,14 @@ public class LabelAllocateApiController {
|
||||
description = "작업현황 관리 > 라벨러 상세 정보, 작업이관 팝업 내 라벨러 상세 정보 동일")
|
||||
@GetMapping("/labeler-detail")
|
||||
public ApiResponseDto<LabelerDetail> findLabelerDetail(
|
||||
@RequestParam(defaultValue = "01022223333") String userId,
|
||||
@Parameter(description = "비교년도", required = true, example = "2022") @RequestParam
|
||||
Integer compareYyyy,
|
||||
@Parameter(description = "기준년도", required = true, example = "2024") @RequestParam
|
||||
Integer targetYyyy,
|
||||
@Parameter(description = "회차", required = true, example = "4") @RequestParam Integer stage) {
|
||||
return ApiResponseDto.ok(
|
||||
labelAllocateService.findLabelerDetail(userId, compareYyyy, targetYyyy, stage));
|
||||
@RequestParam(defaultValue = "01022223333", required = true) String userId,
|
||||
@Parameter(
|
||||
description = "회차 마스터 key",
|
||||
required = true,
|
||||
example = "8584e8d4-53b3-4582-bde2-28a81495a626")
|
||||
@RequestParam
|
||||
String uuid) {
|
||||
return ApiResponseDto.ok(labelAllocateService.findLabelerDetail(userId, uuid));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업현황 관리 > 상세 > 작업 이관", description = "작업현황 관리 > 상세 > 작업 이관")
|
||||
|
||||
Reference in New Issue
Block a user