From 9a6a9018cf818dcf49fa7f94310f64bf08ec4dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=AF=E8=A3=95?= Date: Mon, 11 Mar 2019 21:18:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/WmsEnumUtil.java | 90 +++++++++++----------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java index 3504d07..2c215e7 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/WmsEnumUtil.java @@ -347,51 +347,51 @@ public class WmsEnumUtil { } } - /** - * PO条码状态信息 - */ - @JsonFormat(shape = JsonFormat.Shape.OBJECT) - public enum SN_DETAILS_STATUS { - CREATE(10, "新建"), - WAREHOUSING(30, "已打印"), - RECEIPT_FINISH(20, "已收货"); - - private int value; - private String description; - - SN_DETAILS_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; - } - - public static int descOf(String desc) { - int tmp = 1; - for (int i = 0; i < values().length; i++) { - if (values()[i].description.equals(desc)) { - tmp = values()[i].value; - } - } - return tmp; - } - } +// /** +// * PO条码状态信息 +// */ +// @JsonFormat(shape = JsonFormat.Shape.OBJECT) +// public enum SN_DETAILS_STATUS { +// CREATE(10, "新建"), +// WAREHOUSING(30, "已打印"), +// RECEIPT_FINISH(20, "已收货"); +// +// private int value; +// private String description; +// +// SN_DETAILS_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; +// } +// +// public static int descOf(String desc) { +// int tmp = 1; +// for (int i = 0; i < values().length; i++) { +// if (values()[i].description.equals(desc)) { +// tmp = values()[i].value; +// } +// } +// return tmp; +// } +// } /** * 消息队列,队列名称