From ec597288f2bb4d25d8752e2e24402306719833d4 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期五, 29 三月 2024 15:25:28 +0800
Subject: [PATCH] 提交一把
---
server/service/src/main/java/com/doumee/core/utils/Constants.java | 40 ++++++----------------------------------
1 files changed, 6 insertions(+), 34 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 cc01e72..07d73d9 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
@@ -707,6 +707,7 @@
THSQZ(5, "鐢宠閫�鍥�"),
YGB(6, "宸插叧闂�"),
DQYQZ(7, "寰呯缃�"),
+
WTBDQS(28, "寰呯缃�"),
WTBDSH(21, "寰呭鏍�"),
WTBDCD(22, "寰呭嚭鍗�"),
@@ -959,24 +960,22 @@
public enum UnionChangeStatus {
- MERGE(0, "寰呯缃茬敵璇峰崟","",0),
- UPLOAD_INSURANCE_POLICY(1, "寰呬笂浼犱繚鍗�","",0),
- FINISH(2, "淇濋殰涓�","",0),
- CLOSE(3, "鍏抽棴","",0),
+ MERGE(0, "寰呯缃茬敵璇峰崟",""),
+ UPLOAD_INSURANCE_POLICY(1, "寰呬笂浼犱繚鍗�",""),
+ FINISH(2, "淇濋殰涓�",""),
+ CLOSE(3, "鍏抽棴",""),
;
// 鎴愬憳鍙橀噺
private String name;
private String info;
private int key;
- private int collectStatus;
// 鏋勯�犳柟娉�
- UnionChangeStatus(int key, String name,String info,int collectStatus) {
+ UnionChangeStatus(int key, String name,String info) {
this.name = name;
this.key = key;
this.info = info;
- this.collectStatus = collectStatus;
}
// 鏅�氭柟娉�
@@ -984,25 +983,6 @@
for (UnionChangeStatus c : UnionChangeStatus.values()) {
if (c.getKey() == index) {
return c.name;
- }
- }
- return null;
- }
- public static List<Integer> getKesByStatus(Integer collectStatus) {
- List<Integer> list = new ArrayList<>();
- if(collectStatus!=null){
- for (UnionChangeStatus c : UnionChangeStatus.values()) {
- if (Constants.equalsInteger(c.getCollectStatus() ,collectStatus)) {
- list.add(c.getKey());
- }
- }
- }
- return list;
- }
- public static Integer getCollectStatus(Integer index) {
- for (UnionChangeStatus c : UnionChangeStatus.values()) {
- if (Constants.equalsInteger(c.getKey() , index)) {
- return c.collectStatus;
}
}
return null;
@@ -1039,14 +1019,6 @@
public void setInfo(String info) {
this.info = info;
- }
-
- public int getCollectStatus() {
- return collectStatus;
- }
-
- public void setCollectStatus(int collectStatus) {
- this.collectStatus = collectStatus;
}
}
--
Gitblit v1.9.3