Merge pull request 'api 설명 변경' (#135) from feat/dev_251201 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/135
This commit is contained in:
@@ -52,7 +52,9 @@ public class LabelAllocateApiController {
|
||||
return ApiResponseDto.ok(labelAllocateService.availUserList(role));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업현황관리(작업자 목록 및 3일치 통계 조회)", description = "학습데이터 제작 현황 조회 API입니다.")
|
||||
@Operation(
|
||||
summary = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)",
|
||||
description = "작업현황 관리 (라벨링, 검수 진행률 요약정보, 작업자 목록)")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||
@@ -100,7 +102,7 @@ public class LabelAllocateApiController {
|
||||
analUid, workerType, searchName, searchEmployeeNo, sort));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업 배정", description = "작업 배정")
|
||||
@Operation(summary = "라벨링작업 관리 > 작업 배정", description = "라벨링작업 관리 > 작업 배정")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(
|
||||
@@ -129,7 +131,7 @@ public class LabelAllocateApiController {
|
||||
dto.getTargetYyyy()));
|
||||
}
|
||||
|
||||
@Operation(summary = "추론 상세 조회", description = "분석 ID에 해당하는 추론 상세 정보를 조회합니다.")
|
||||
@Operation(summary = "작업현황 관리 > 변화탐지 회차 정보", description = "작업현황 관리 > 변화탐지 회차 정보")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||
@@ -147,7 +149,9 @@ public class LabelAllocateApiController {
|
||||
labelAllocateService.findInferenceDetail(compareYyyy, targetYyyy, stage));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업이관 > 라벨러 상세 정보", description = "작업이관 > 라벨러 상세 정보")
|
||||
@Operation(
|
||||
summary = "작업현황 관리 > 상세 > 작업 이관 > 팝업 내 라벨러 상세 정보",
|
||||
description = "작업현황 관리 > 상세 > 작업 이관 > 팝업 내 라벨러 상세 정보")
|
||||
@GetMapping("/labeler-detail")
|
||||
public ApiResponseDto<LabelerDetail> findLabelerDetail(
|
||||
@RequestParam(defaultValue = "01022223333") String userId,
|
||||
@@ -160,7 +164,7 @@ public class LabelAllocateApiController {
|
||||
labelAllocateService.findLabelerDetail(userId, compareYyyy, targetYyyy, stage));
|
||||
}
|
||||
|
||||
@Operation(summary = "작업 이관", description = "작업 이관")
|
||||
@Operation(summary = "작업현황 관리 > 상세 > 작업 이관", description = "작업현황 관리 > 상세 > 작업 이관")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(
|
||||
|
||||
@@ -29,7 +29,7 @@ public class LabelWorkerApiController {
|
||||
|
||||
private final LabelWorkService labelWorkService;
|
||||
|
||||
@Operation(summary = "라벨링작업 관리 목록 조회", description = "라벨링작업 관리 목록 조회")
|
||||
@Operation(summary = "라벨링작업 관리 > 목록 조회", description = "라벨링작업 관리 > 목록 조회")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(
|
||||
|
||||
@@ -36,9 +36,13 @@ public class LabelWorkDto {
|
||||
|
||||
String mngState = "PENDING";
|
||||
|
||||
if (this.labelTotCnt == 0) mngState = "PENDING";
|
||||
else if (this.labelIngTotCnt > 0) mngState = "LABEL_ING";
|
||||
else if (this.labelTotCnt <= labelCompleteTotCnt) mngState = "LABEL_COMPLETE";
|
||||
if (this.labelTotCnt == 0) {
|
||||
mngState = "PENDING";
|
||||
} else if (this.labelIngTotCnt > 0) {
|
||||
mngState = "LABEL_ING";
|
||||
} else if (this.labelTotCnt <= labelCompleteTotCnt) {
|
||||
mngState = "LABEL_COMPLETE";
|
||||
}
|
||||
|
||||
return mngState;
|
||||
}
|
||||
@@ -78,10 +82,10 @@ public class LabelWorkDto {
|
||||
@Schema(description = "변화탐지년도", example = "2024")
|
||||
private Integer detectYyyy;
|
||||
|
||||
@Schema(description = "시작일", example = "20240101")
|
||||
@Schema(description = "시작일", example = "20260101")
|
||||
private String strtDttm;
|
||||
|
||||
@Schema(description = "종료일", example = "20241201")
|
||||
@Schema(description = "종료일", example = "20261201")
|
||||
private String endDttm;
|
||||
|
||||
public Pageable toPageable() {
|
||||
|
||||
Reference in New Issue
Block a user