|  |  |  | 
|---|
|  |  |  | public class Constants { | 
|---|
|  |  |  | public static final String HEADER_USER_TOKEN = "dm_user_token"; | 
|---|
|  |  |  | public static final String REDIS_TOKEN_KEY = "token_"; | 
|---|
|  |  |  | public static final String REDIS_HK_TOKEN_KEY = "hk_token_"; | 
|---|
|  |  |  | public static final String[]  ALL_SPELL_LIST_FIRST = new String[]{"A", "B", "C", "D", "E", "F", "G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}; | 
|---|
|  |  |  | public static final int ZERO = 0 ; | 
|---|
|  |  |  | public static final int ONE = 1 ; | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final String HIDDEN_DANGER_FILE = "HIDDEN_DANGER_FILE"; | 
|---|
|  |  |  | public static final String LOG_DEL_DAYS_LIMIT ="LOG_DEL_DAYS_LIMIT" ; | 
|---|
|  |  |  | public static final String HK_LOG_DEL_DAYS_LIMIT ="HK_LOG_DEL_DAYS_LIMIT" ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String HK_NGINX_URL = "HK_NGINX_URL"; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCPRIVILEGE= false; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCDEVICE = false; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCDEVICE_STATUS = false; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface  noticesObjectType{ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static Integer  approveTypeToNoticeType(Integer approveType){ | 
|---|
|  |  |  | if(Constants.equalsInteger(approveType,Constants.approveObjectType.unConstructionVisit) | 
|---|
|  |  |  | ||Constants.equalsInteger(approveType,Constants.approveObjectType.constructionVisit)){ | 
|---|
|  |  |  | return Constants.noticesObjectType.visit; | 
|---|
|  |  |  | }else if(Constants.equalsInteger(approveType,Constants.approveObjectType.visitReporting)){ | 
|---|
|  |  |  | return Constants.noticesObjectType.visitReporting; | 
|---|
|  |  |  | }else if(Constants.equalsInteger(approveType,Constants.approveObjectType.cityUseCar) | 
|---|
|  |  |  | ||Constants.equalsInteger(approveType,Constants.approveObjectType.unCityUseCar)){ | 
|---|
|  |  |  | return Constants.noticesObjectType.useCar; | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | return Constants.noticesObjectType.system; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface  noticesObjectType{ | 
|---|
|  |  |  | int visit = 0;//访客申请 | 
|---|
|  |  |  | int visitReporting = 2;//访客报备 | 
|---|
|  |  |  | int cityUseCar = 3;//市内用车 | 
|---|
|  |  |  | int unCityUseCar = 4;//市外用车 | 
|---|
|  |  |  | int logisticsCarUse = 5;//物流车预约 | 
|---|
|  |  |  | int visitReporting = 1;//访客报备 | 
|---|
|  |  |  | int useCar = 2;//用车申请 | 
|---|
|  |  |  | int dangerDeal = 3;//隐患处理 | 
|---|
|  |  |  | int logisticsCarUse = 4;//物流车审批 | 
|---|
|  |  |  | int system = 5;//系统消息 | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | return reqJson; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public  enum NoticeType { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ZERO(0, "待审核","","","待审核","待处理","处理中"), | 
|---|