labelState 조건 수정
This commit is contained in:
@@ -40,6 +40,7 @@ public class LabelWorkDto {
|
||||
@JsonFormatDttm private ZonedDateTime createdDttm;
|
||||
private Long detectionTotCnt;
|
||||
private Long labelTotCnt;
|
||||
private Long labelAssignCnt;
|
||||
private Long labelStopTotCnt;
|
||||
private Long labelIngTotCnt;
|
||||
private Long labelCompleteTotCnt;
|
||||
@@ -59,7 +60,7 @@ public class LabelWorkDto {
|
||||
|
||||
if (this.labelTotCnt == 0) {
|
||||
mngState = "PENDING";
|
||||
} else if (this.labelTotCnt > 0 && this.labelIngTotCnt == 0) {
|
||||
} else if (this.labelTotCnt > 0 && this.labelAssignCnt > 0 && this.labelIngTotCnt == 0) {
|
||||
mngState = "ASSIGNED";
|
||||
} else if (this.labelIngTotCnt > 0) {
|
||||
mngState = "LABEL_ING";
|
||||
|
||||
Reference in New Issue
Block a user