학습데이터관리 > 라벨목록 상태 기획안에 맞게 변경
This commit is contained in:
@@ -22,12 +22,7 @@ public class LabelAllocateDto {
|
|||||||
public enum LabelMngState implements EnumType {
|
public enum LabelMngState implements EnumType {
|
||||||
PENDING("작업대기"),
|
PENDING("작업대기"),
|
||||||
ASSIGNED("작업할당"),
|
ASSIGNED("작업할당"),
|
||||||
STOP("중단"),
|
ING("진행중"),
|
||||||
LABEL_ING("라벨진행중"),
|
|
||||||
LABEL_COMPLETE("라벨완료"),
|
|
||||||
INSPECT_REQ("검수요청"),
|
|
||||||
INSPECT_ING("검수진행중"),
|
|
||||||
INSPECT_COMPLETE("검수완료"),
|
|
||||||
FINISH("종료");
|
FINISH("종료");
|
||||||
|
|
||||||
private String desc;
|
private String desc;
|
||||||
|
|||||||
@@ -85,9 +85,7 @@ public class LabelWorkDto {
|
|||||||
} else if (this.labelTotCnt > 0 && this.labelAssignCnt > 0 && this.labelCompleteTotCnt == 0) {
|
} else if (this.labelTotCnt > 0 && this.labelAssignCnt > 0 && this.labelCompleteTotCnt == 0) {
|
||||||
mngState = LabelMngState.ASSIGNED.getId();
|
mngState = LabelMngState.ASSIGNED.getId();
|
||||||
} else if (this.labelCompleteTotCnt > 0) {
|
} else if (this.labelCompleteTotCnt > 0) {
|
||||||
mngState = LabelMngState.LABEL_ING.getId();
|
mngState = LabelMngState.ING.getId();
|
||||||
} else if (this.labelTotCnt <= labelCompleteTotCnt) {
|
|
||||||
mngState = LabelMngState.LABEL_COMPLETE.getId();
|
|
||||||
} else if (this.labelingClosedYn.equals("Y") && this.inspectionClosedYn.equals("Y")) {
|
} else if (this.labelingClosedYn.equals("Y") && this.inspectionClosedYn.equals("Y")) {
|
||||||
mngState = LabelMngState.FINISH.getId();
|
mngState = LabelMngState.FINISH.getId();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user