jiangping
2024-01-26 8ebca068bb00e530ce44e10e7d009bcaa46c6579
server/service/src/main/java/com/doumee/core/utils/Constants.java
@@ -659,6 +659,54 @@
    }
    public  enum ApplyCollectStatus {
        DSP(0, "待审批"),
        DCD(1, "待出单"),
        BZZ(2, "保障中"),
        YGQ(3, "已过期"),
        YTH(4, "已退回"),
        THSQZ(5, "退回申请中"),
        YGB(6, "已关闭"),
        ;
        // 成员变量
        private String name;
        private int key;
        // 构造方法
        ApplyCollectStatus(int key, String name) {
            this.name = name;
            this.key = key;
        }
        // 普通方法
        public static String getName(int index) {
            for (ApplyCollectStatus c : ApplyCollectStatus.values()) {
                if (c.getKey() == index) {
                    return c.name;
                }
            }
            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  enum ApplyLogType {
        UPLOAD(0, "提交投保","提交意见:${param}"),