|
|
|
@ -139,17 +139,19 @@ public class WmsEnumUtil {
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum MASTER_ORDER_STATUS {
|
|
|
|
|
CREATE(10, "新建"),
|
|
|
|
|
RECEIPT(20, "处理中"),
|
|
|
|
|
RECEIPT_FINISH(30, "已完成"),
|
|
|
|
|
CLOSED(40, "已关闭"),
|
|
|
|
|
CANCELLED(50, "已取消");
|
|
|
|
|
CREATE(10, "CREATE", "新建"),
|
|
|
|
|
RECEIPT(20, "RECEIPT", "处理中"),
|
|
|
|
|
RECEIPT_FINISH(30, "RECEIPT_FINISH", "已完成"),
|
|
|
|
|
CLOSED(40, "CLOSED", "已关闭"),
|
|
|
|
|
CANCELLED(50, "CANCELLED", "已取消");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
MASTER_ORDER_STATUS(int value, String description) {
|
|
|
|
|
MASTER_ORDER_STATUS(int value, String code, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.code = code;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -161,6 +163,10 @@ public class WmsEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String valueOf(int val) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|