【枚举状态】

yun-zuoyi
曾贞一 5 years ago
parent 7f11e5b1d7
commit 8ca16d7c68

@ -5374,13 +5374,17 @@ public class WmsEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PICKING_EXECUTE_STATUS { public enum PICKING_EXECUTE_STATUS {
IN_PROGRESS(1, "执行中"), EXPIRED(2, "已超期"), NORMAL(3, "正常"); IN_PROGRESS(1,"IN_PROGRESS", "执行中"),
EXPIRED(2,"EXPIRED", "已超期"),
NORMAL(3,"NORMAL", "正常");
private int value; private int value;
private String code;
private String description; private String description;
PICKING_EXECUTE_STATUS(int value, String description) { PICKING_EXECUTE_STATUS(int value,String code, String description) {
this.value = value; this.value = value;
this.code = code;
this.description = description; this.description = description;
} }
@ -5388,6 +5392,10 @@ public class WmsEnumUtil {
return value; return value;
} }
public String getCode() {
return code;
}
public String getDescription() { public String getDescription() {
return description; return description;
} }

Loading…
Cancel
Save