api 설명 변경

This commit is contained in:
2026-01-05 09:15:13 +09:00
parent d87048b4c6
commit 1cab1a34ab
3 changed files with 19 additions and 11 deletions

View File

@@ -52,7 +52,9 @@ public class LabelAllocateApiController {
return ApiResponseDto.ok(labelAllocateService.availUserList(role)); return ApiResponseDto.ok(labelAllocateService.availUserList(role));
} }
@Operation(summary = "작업현황관리(작업자 목록 및 3일치 통계 조회)", description = "학습데이터 제작 현황 조회 API입니다.") @Operation(
summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)",
description = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "200", description = "조회 성공"),
@@ -100,7 +102,7 @@ public class LabelAllocateApiController {
analUid, workerType, searchName, searchEmployeeNo, sort)); analUid, workerType, searchName, searchEmployeeNo, sort));
} }
@Operation(summary = "작업 배정", description = "작업 배정") @Operation(summary = "라벨링작업 관리 > 작업 배정", description = "라벨링작업 관리 > 작업 배정")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse( @ApiResponse(
@@ -129,7 +131,7 @@ public class LabelAllocateApiController {
dto.getTargetYyyy())); dto.getTargetYyyy()));
} }
@Operation(summary = "추론 상세 조회", description = "분석 ID에 해당하는 추론 상세 정보를 조회합니다.") @Operation(summary = "작업현황 관리 > 변화탐지 회차 정보", description = "작업현황 관리 > 변화탐지 회차 정보")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse(responseCode = "200", description = "조회 성공"), @ApiResponse(responseCode = "200", description = "조회 성공"),
@@ -147,7 +149,9 @@ public class LabelAllocateApiController {
labelAllocateService.findInferenceDetail(compareYyyy, targetYyyy, stage)); labelAllocateService.findInferenceDetail(compareYyyy, targetYyyy, stage));
} }
@Operation(summary = "작업이관 > 라벨러 상세 정보", description = "작업이관 > 라벨러 상세 정보") @Operation(
summary = "작업현황 관리 > 상세 > 작업 이관 > 팝업 내 라벨러 상세 정보",
description = "작업현황 관리 > 상세 > 작업 이관 > 팝업 내 라벨러 상세 정보")
@GetMapping("/labeler-detail") @GetMapping("/labeler-detail")
public ApiResponseDto<LabelerDetail> findLabelerDetail( public ApiResponseDto<LabelerDetail> findLabelerDetail(
@RequestParam(defaultValue = "01022223333") String userId, @RequestParam(defaultValue = "01022223333") String userId,
@@ -160,7 +164,7 @@ public class LabelAllocateApiController {
labelAllocateService.findLabelerDetail(userId, compareYyyy, targetYyyy, stage)); labelAllocateService.findLabelerDetail(userId, compareYyyy, targetYyyy, stage));
} }
@Operation(summary = "작업 이관", description = "작업 이관") @Operation(summary = "작업현황 관리 > 상세 > 작업 이관", description = "작업현황 관리 > 상세 > 작업 이관")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse( @ApiResponse(

View File

@@ -29,7 +29,7 @@ public class LabelWorkerApiController {
private final LabelWorkService labelWorkService; private final LabelWorkService labelWorkService;
@Operation(summary = "라벨링작업 관리 목록 조회", description = "라벨링작업 관리 목록 조회") @Operation(summary = "라벨링작업 관리 > 목록 조회", description = "라벨링작업 관리 > 목록 조회")
@ApiResponses( @ApiResponses(
value = { value = {
@ApiResponse( @ApiResponse(

View File

@@ -36,9 +36,13 @@ public class LabelWorkDto {
String mngState = "PENDING"; String mngState = "PENDING";
if (this.labelTotCnt == 0) mngState = "PENDING"; if (this.labelTotCnt == 0) {
else if (this.labelIngTotCnt > 0) mngState = "LABEL_ING"; mngState = "PENDING";
else if (this.labelTotCnt <= labelCompleteTotCnt) mngState = "LABEL_COMPLETE"; } else if (this.labelIngTotCnt > 0) {
mngState = "LABEL_ING";
} else if (this.labelTotCnt <= labelCompleteTotCnt) {
mngState = "LABEL_COMPLETE";
}
return mngState; return mngState;
} }
@@ -78,10 +82,10 @@ public class LabelWorkDto {
@Schema(description = "변화탐지년도", example = "2024") @Schema(description = "변화탐지년도", example = "2024")
private Integer detectYyyy; private Integer detectYyyy;
@Schema(description = "시작일", example = "20240101") @Schema(description = "시작일", example = "20260101")
private String strtDttm; private String strtDttm;
@Schema(description = "종료일", example = "20241201") @Schema(description = "종료일", example = "20261201")
private String endDttm; private String endDttm;
public Pageable toPageable() { public Pageable toPageable() {