From 137e473543aeabb36d4843fa8e06c546ea2d2687 Mon Sep 17 00:00:00 2001 From: qianhs Date: Wed, 13 Nov 2019 19:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=09EU=E7=BC=96=E7=BB=84=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=91=E3=80=90=20334-=20EU=E7=BC=96=E7=BB=84?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E7=BB=84=E4=BB=B6=E5=92=8C=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E5=A4=8D=E7=94=A8=E3=80=91=E3=80=901172EU=E7=BC=96?= =?UTF-8?q?=E7=BB=84=E7=AE=A1=E7=90=86-=E7=BB=84=E4=BB=B6=E5=92=8C?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=A4=8D=E7=94=A8=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/WmsEnumUtil.java | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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 0f8069f..af4689b 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 @@ -4105,4 +4105,42 @@ public class WmsEnumUtil { return tmp; } } + + /** + * 编组管理操作类型 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum PACKAGE_OPERATE_TYPE { + PACKAGE_ADD("PACKAGE_ADD", "新增"), + PACKAGE_ADDITIONAL("PACKAGE_ADDITIONAL", "追加"), + PACKAGE_DELETE("PACKAGE_DELETE", "删除"), + PACKAGE_CLEAR("PACKAGE_CLEAR", "清空"); + + private String value; + private String description; + + PACKAGE_OPERATE_TYPE(String value, String description) { + this.value = value; + this.description = description; + } + + public String getValue() { + return value; + } + + public String getDescription() { + return description; + } + + public static String getDescription(String val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (val.equals(values()[i].value)) { + tmp = values()[i].description; + } + } + return tmp; + } + } + } \ No newline at end of file