库存移动单状态枚举添加

yun-zuoyi
amy 7 years ago
parent 8841e18a4d
commit ccdfc19aff

@ -1194,4 +1194,38 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
* :0=,5=,10=
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MOVE_ORDER_STATUS {
CREATE(0, "创建"),BE_HANDLE(5, "待处理"),FINISH(10, "已处理");
private int value;
private String description;
MOVE_ORDER_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

Loading…
Cancel
Save