This commit is contained in:
2026-01-05 16:08:15 +09:00
parent a7464c7ea4
commit a86c0b5c4a
3 changed files with 6 additions and 7 deletions

View File

@@ -54,9 +54,7 @@ public class LabelAllocateApiController {
return ApiResponseDto.ok(labelAllocateService.availUserList(role)); return ApiResponseDto.ok(labelAllocateService.availUserList(role));
} }
@Operation( @Operation(summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보)", description = "작업현황 관리 (라벨링, 검수 진행률 요약정보)")
summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보)",
description = "작업현황 관리 (라벨링, 검수 진행률 요약정보)")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "200", description = "조회 성공"),

View File

@@ -59,7 +59,7 @@ public class LabelWorkDto {
if (this.labelTotCnt == 0) { if (this.labelTotCnt == 0) {
mngState = "PENDING"; mngState = "PENDING";
}else if(this.labelTotCnt > 0 && this.labelIngTotCnt == 0 ){ } else if (this.labelTotCnt > 0 && this.labelIngTotCnt == 0) {
mngState = "ASSIGNED"; mngState = "ASSIGNED";
} else if (this.labelIngTotCnt > 0) { } else if (this.labelIngTotCnt > 0) {
mngState = "LABEL_ING"; mngState = "LABEL_ING";

View File

@@ -119,9 +119,10 @@ public class LabelAllocateService {
Long analUid, String workerType, String search, String sortType) { Long analUid, String workerType, String search, String sortType) {
// 프로젝트 정보 조회 (analUid가 없으면 최신 프로젝트 정보 조회) // 프로젝트 정보 조회 (analUid가 없으면 최신 프로젝트 정보 조회)
var projectInfo = analUid != null var projectInfo =
? labelAllocateCoreService.findProjectInfo(analUid) analUid != null
: labelAllocateCoreService.findLatestProjectInfo(); ? labelAllocateCoreService.findProjectInfo(analUid)
: labelAllocateCoreService.findLatestProjectInfo();
// 작업 진행 현황 조회 // 작업 진행 현황 조회
var progressInfo = labelAllocateCoreService.findWorkProgressInfo(analUid); var progressInfo = labelAllocateCoreService.findWorkProgressInfo(analUid);