From 4a34f3cfd93da1c06d40663dea68e54e83ec7460 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期二, 30 一月 2024 16:00:22 +0800 Subject: [PATCH] 111 --- server/service/src/main/java/com/doumee/core/utils/Constants.java | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/server/service/src/main/java/com/doumee/core/utils/Constants.java b/server/service/src/main/java/com/doumee/core/utils/Constants.java index b2a5e09..f55caa7 100644 --- a/server/service/src/main/java/com/doumee/core/utils/Constants.java +++ b/server/service/src/main/java/com/doumee/core/utils/Constants.java @@ -1082,27 +1082,37 @@ public enum ApplyChangeLogStatus { - UPLOAD(0, "鍙戣捣鐢宠"), - RETURN_APPLY(3, "鍙戣捣閫�鍥炵敵璇�"), - PLATFORM_AGREE(4, "骞冲彴瀹℃壒閫氳繃"), - PLATFORM_UN_AGREE(0, "瀹℃壒椹冲洖"), - CLOSE(5, "鍏抽棴"), + UPLOAD(0, "鍙戣捣鐢宠",""), + RETURN_APPLY(3, "鍙戣捣閫�鍥炵敵璇�","鎻愪氦鎰忚锛�${param}"), + PLATFORM_AGREE(4, "骞冲彴瀹℃壒閫氳繃" ,"鎻愪氦鎰忚锛�${param}"), + PLATFORM_UN_AGREE(0, "瀹℃壒椹冲洖","鎻愪氦鎰忚锛�${param}"), + CLOSE(5, "鍏抽棴",""), ; // 鎴愬憳鍙橀噺 private String name; + private String info; private int key; // 鏋勯�犳柟娉� - ApplyChangeLogStatus(int key, String name) { + ApplyChangeLogStatus(int key, String name,String info) { this.name = name; + this.info = info; this.key = key; } // 鏅�氭柟娉� public static String getName(int index) { - for (ApplyLogType c : ApplyLogType.values()) { + for (ApplyChangeLogStatus c : ApplyChangeLogStatus.values()) { if (c.getKey() == index) { return c.name; + } + } + return null; + } + public static String getInfo(int index) { + for (ApplyChangeLogStatus c : ApplyChangeLogStatus.values()) { + if (c.getKey() == index) { + return c.info; } } return null; @@ -1125,6 +1135,14 @@ this.key = key; } + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + } -- Gitblit v1.9.3