标签:proc finish cti 结束 ret end nis return for
1.定义枚举类
public enum RedActiveStatusEnum {
NO_START("未开始", 1),
READY("准备中", 2),
PROCESSING("进行中", 3),
END_NO_FINISH("已结束领取未完成", 4),
END_YES_FINISH("已结束领取完成", 5),
END_FORCE("强制结束",6);
private String name;
private Integer value;
private RedActiveStatusEnum(String name, Integer value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
this.value = value;
}
}
2.使用枚举类
RedActiveStatusEnum.NO_START.getValue()
标签:proc finish cti 结束 ret end nis return for
原文地址:https://www.cnblogs.com/guangxiang/p/12529866.html