학습데이터관리 > 라벨목록 상태 기획안에 맞게 변경

This commit is contained in:
2026-01-16 09:52:00 +09:00
parent ad9af31c00
commit 64acda9a1a
2 changed files with 2 additions and 9 deletions

View File

@@ -22,12 +22,7 @@ public class LabelAllocateDto {
public enum LabelMngState implements EnumType {
PENDING("작업대기"),
ASSIGNED("작업할당"),
STOP(""),
LABEL_ING("라벨진행중"),
LABEL_COMPLETE("라벨완료"),
INSPECT_REQ("검수요청"),
INSPECT_ING("검수진행중"),
INSPECT_COMPLETE("검수완료"),
ING("진행"),
FINISH("종료");
private String desc;

View File

@@ -85,9 +85,7 @@ public class LabelWorkDto {
} else if (this.labelTotCnt > 0 && this.labelAssignCnt > 0 && this.labelCompleteTotCnt == 0) {
mngState = LabelMngState.ASSIGNED.getId();
} else if (this.labelCompleteTotCnt > 0) {
mngState = LabelMngState.LABEL_ING.getId();
} else if (this.labelTotCnt <= labelCompleteTotCnt) {
mngState = LabelMngState.LABEL_COMPLETE.getId();
mngState = LabelMngState.ING.getId();
} else if (this.labelingClosedYn.equals("Y") && this.inspectionClosedYn.equals("Y")) {
mngState = LabelMngState.FINISH.getId();
}