Browse Source

科德系统公出统计BUG修复

anderx 3 years ago
parent
commit
2f78331dc7
1 changed files with 0 additions and 40 deletions
  1. 0 40
      src/main/java/com/goafanti/customer/bo/InputChannelState.java

+ 0 - 40
src/main/java/com/goafanti/customer/bo/InputChannelState.java

@@ -1,40 +0,0 @@
-package com.goafanti.customer.bo;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public enum InputChannelState {
-    name("name","名称"),
-    contacts("contacts","联系人"),
-    contactMobile("contactMobile","联系人电话"),
-    province("province","省"),
-    city("city","市"),
-    area("area","区"),
-    introduction("introduction","简介"),
-    position("position","职位"),
-    channelType("channelType","渠道分类");
-
-
-    private String code;
-    private String desc;
-
-     InputChannelState(String code, String desc) {
-        this.code = code;
-        this.desc = desc;
-    }
-
-    private static Map<String ,InputChannelState> status=new HashMap<String,InputChannelState>();
-
-    static {
-        for (InputChannelState value : InputChannelState.values()) {
-            status.put(value.code,value);
-        }
-    }
-
-    public static String getDesc(String code) {
-        for (InputChannelState value : InputChannelState.values()) {
-            if (value.code.equals(code))return value.desc;
-        }
-        return "**";
-    }
-}