k94314517
2024-01-17 bc22a1fce8b936f61e1f799689ee5795fc2508b0
server/service/src/main/java/com/doumee/core/utils/Constants.java
@@ -54,6 +54,15 @@
    public static final String BRAND_IMG = "BRAND_IMG";
    public static final String PLATFORM = "PLATFORM";
    public static final String ZHUBO_ROOM_URL = "ZHUBO_ROOM_URL";
    public static final String SMS_IP ="SMS_IP" ;
    public static final String SMS_PORT ="SMS_PORT" ;
    public static final String SMS_APPKEY="SMS_APPKEY";
    public static final String SMS_APPSECRET ="SMS_APPSERECT" ;
    public static final String SMS ="SMS" ;
    public static final String SIGN = "SIGN";
    public static final String SIGN_URL = "SIGN_URL";
    public static final String SIGN_APPKEY = "SIGN_APPKEY";
    public static final String SIGN_APPSECRET = "SIGN_APPSECRET";
    /**
     * 企业数据来源 0平台注册 1后台导入
@@ -537,6 +546,56 @@
    }
    public  enum DispatchUnitLogType {
        UPLOAD(0, "提交申请"),
        AUDIT_PASS(1, "派遣单位通过"),
        AUDIT_UN_PASS(2, "派遣单位不通过"),
        EDIT_UNIT(3, "修改派遣单位信息"),
        ADD_WORK_TYPE(4, "提交添加工种"),
        WORK_TYPE_AUDIT_PASS(5, "添加工种审批通过"),
        WORK_TYPE_AUDIT_UN_PASS(5, "添加工种审批不通过"),
        ;
        // 成员变量
        private String name;
        private int key;
        // 构造方法
        DispatchUnitLogType(int key, String name) {
            this.name = name;
            this.key = key;
        }
        // 普通方法
        public static String getName(int index) {
            for (DispatchUnitLogType c : DispatchUnitLogType.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 ProjectRecord {
        COM_EDITING(0, "企业保存数据", "由 ${param2} ${param3}保存成功,当前进度为 【${param4}】"),