projectinfo uuid조회 추가
This commit is contained in:
@@ -55,7 +55,9 @@ public class LabelAllocateApiController {
|
||||
return ApiResponseDto.ok(labelAllocateService.availUserList(role));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업현황 관리 > 프로젝트 및 진행 상황 정보", description = "작업현황 관리 > 프로젝트 및 진행 상황 정보")
|
||||
@Operation(
|
||||
summary = "작업현황 관리 > 프로젝트 및 진행 상황 정보",
|
||||
description = "작업현황 관리 > 프로젝트 및 진행 상황 정보. UUID를 입력하면 해당 프로젝트 정보를 조회하고, 미입력 시 최신 프로젝트를 조회합니다.")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||
@@ -64,8 +66,11 @@ public class LabelAllocateApiController {
|
||||
})
|
||||
@GetMapping("/projectinfo")
|
||||
public ApiResponseDto<WorkerListResponse> getWorkerStatistics(
|
||||
// @Parameter(description = "분석 ID (선택)", example = "3") @RequestParam(required = false)
|
||||
// Long analUid,
|
||||
@Parameter(
|
||||
description = "프로젝트 UUID (선택) - 미입력 시 최신 프로젝트 조회",
|
||||
example = "f97dc186-e6d3-4645-9737-3173dde8dc64")
|
||||
@RequestParam(required = false)
|
||||
String uuid,
|
||||
@Parameter(
|
||||
description = "작업자 유형 (선택) - 미입력 시 LABELER로 조회",
|
||||
example = "LABELER",
|
||||
@@ -99,7 +104,7 @@ public class LabelAllocateApiController {
|
||||
String workerType = (type == null || type.isEmpty()) ? RoleType.LABELER.name() : type;
|
||||
|
||||
return ApiResponseDto.ok(
|
||||
labelAllocateService.getWorkerStatistics(null, workerType, search, sort));
|
||||
labelAllocateService.getWorkerStatisticsByUuid(uuid, workerType, search, sort));
|
||||
}
|
||||
|
||||
@Operation(summary = "라벨링작업 관리 > 작업 배정", description = "라벨링작업 관리 > 작업 배정")
|
||||
|
||||
Reference in New Issue
Block a user