From 6e41324f84f0cf70871ca05292c5420bdcaaa98c Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期日, 04 二月 2024 14:36:33 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- server/service/src/main/java/com/doumee/core/utils/Constants.java | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 1 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 b366917..6ce57c2 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 @@ -1140,7 +1140,7 @@ public enum ApplyChangeStatus { UPLOAD(0, "鎻愪氦鍔犲噺淇�/鎹㈠巶鐢宠"), SIGNATURE(1, "宸茬绔�"), - APPROVE(2, "宸蹭笂浼犲鎵�"), + APPROVE(2, "宸蹭笂浼犲鏍�"), RETURN_APPLY_UPLOAD(3, "鍙戣捣閫�鍥炵敵璇�(寰呭鏍�)"), RETURN_APPLY_SIGNATURE(4, "鍙戣捣閫�鍥炵敵璇凤紙宸茬绔狅級"), PLATFORM_AGREE(5, "骞冲彴鍚屾剰锛堝凡閫�鍥烇級"), @@ -1306,6 +1306,73 @@ + + public enum ApplyChangeLogStatus { + 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,String info) { + this.name = name; + this.info = info; + this.key = key; + } + + // 鏅�氭柟娉� + public static String getName(int index) { + 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; + } + + // get set 鏂规硶 + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getKey() { + return key; + } + + public void setKey(int key) { + this.key = key; + } + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + + } + + + public enum ProjectRecord { COM_EDITING(0, "浼佷笟淇濆瓨鏁版嵁", "鐢� ${param2} ${param3}淇濆瓨鎴愬姛锛屽綋鍓嶈繘搴︿负 銆�${param4}銆�"), -- Gitblit v1.9.3