Merge remote-tracking branch 'origin/feat/dev_251201' into feat/dev_251201
This commit is contained in:
@@ -55,8 +55,8 @@ public class LabelAllocateApiController {
|
||||
}
|
||||
|
||||
@Operation(
|
||||
summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)",
|
||||
description = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)")
|
||||
summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보)",
|
||||
description = "작업현황 관리 (라벨링, 검수 진행률 요약정보)")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||
|
||||
@@ -28,6 +28,9 @@ public class WorkerStatsDto {
|
||||
|
||||
@Schema(description = "작업 시작일 (예: 2026-04-06)")
|
||||
private String startDate;
|
||||
|
||||
@Schema(description = "프로젝트 UUID")
|
||||
private String uuid;
|
||||
}
|
||||
|
||||
@Getter
|
||||
|
||||
@@ -118,8 +118,10 @@ public class LabelAllocateService {
|
||||
public WorkerListResponse getWorkerStatistics(
|
||||
Long analUid, String workerType, String search, String sortType) {
|
||||
|
||||
// 프로젝트 정보 조회 (analUid가 있을 때만)
|
||||
var projectInfo = labelAllocateCoreService.findProjectInfo(analUid);
|
||||
// 프로젝트 정보 조회 (analUid가 없으면 최신 프로젝트 정보 조회)
|
||||
var projectInfo = analUid != null
|
||||
? labelAllocateCoreService.findProjectInfo(analUid)
|
||||
: labelAllocateCoreService.findLatestProjectInfo();
|
||||
|
||||
// 작업 진행 현황 조회
|
||||
var progressInfo = labelAllocateCoreService.findWorkProgressInfo(analUid);
|
||||
|
||||
Reference in New Issue
Block a user