|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public class Constants { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String AZURE_BLOB ="AZURE_BLOB" ; | 
|---|
|  |  |  | public static final String AZURE_BLOB_ACCESSNAME ="AZURE_BLOB_ACCESSNAME" ; | 
|---|
|  |  |  | public static final String AZURE_BLOB_ACCESSKEY ="AZURE_BLOB_ACCESSKEY" ; | 
|---|
|  |  |  | public static final String AZURE_BLOB_ENDPOINT ="AZURE_BLOB_ENDPOINT" ; | 
|---|
|  |  |  | public static final String AZURE_BLOB_CONTAINER ="AZURE_BLOB_CONTAINER" ; | 
|---|
|  |  |  | public static final String FTP ="FTP" ; | 
|---|
|  |  |  | public static final String FTP_HOST ="FTP_HOST" ; | 
|---|
|  |  |  | public static final String FTP_PORT ="FTP_PORT" ; | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final String QYWX_CORPID = "QYWX_CORPID"; | 
|---|
|  |  |  | public static final String QYWX_SECRET = "QYWX_SECRET"; | 
|---|
|  |  |  | public static final String QYWX_TOKEN = "QYWX_TOKEN"; | 
|---|
|  |  |  | public static final String QYWX_AGENTID = "QYWX_AGENTID"; | 
|---|
|  |  |  | public static final String QYWX_JS_API_TICKET = "QYWX_JS_API_TICKET"; | 
|---|
|  |  |  | public static final String JUMP_OUT_URL = "JUMP_OUT_URL"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String QYWX = "QYWX"; | 
|---|
|  |  |  | public static final  Integer ONE = 1; | 
|---|
|  |  |  | public static final Integer TWO = 2; | 
|---|
|  |  |  | public static final Integer ZERO = 0; | 
|---|
|  |  |  | public static final Integer THREE = 3; | 
|---|
|  |  |  | public static final Integer FOUR = 4; | 
|---|
|  |  |  | public static final Integer SIX = 6; | 
|---|
|  |  |  | public static final Integer FIVE = 5; | 
|---|
|  |  |  | public static boolean WORKORDER_SHE_EMAIL_SENDING = false; | 
|---|
|  |  |  | public static  boolean DEALING_COMPANY_SYNC = false ; | 
|---|
|  |  |  | public static  boolean DEALING_MEMBER_SYNC = false ; | 
|---|
|  |  |  | public static final String WORKORDER_FILE_PATH ="WORKORDER_FILE_PATH" ; | 
|---|
|  |  |  | public static final String WORKORDER_LOG_FILE_PATH ="WORKORDER_LOG_FILE_PATH" ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final String REDIS_TOKEN_KEY = "token_"; | 
|---|
|  |  |  | public interface   uploadType{ | 
|---|
|  |  |  | String blob = "blob"; | 
|---|
|  |  |  | String ftp = "ftp"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 缓存Key | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | //        int dcaWorkOrder= 7; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //0工单上报 1工单处理 2工单转交 | 
|---|
|  |  |  | int upload = 0; | 
|---|
|  |  |  | int  upload = 0; | 
|---|
|  |  |  | int deal = 1; | 
|---|
|  |  |  | int passOn = 2; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public enum workOrderStatus{ | 
|---|
|  |  |  | waitConfirm( 0, "待分配WTS","待分配WTS",""), | 
|---|
|  |  |  | public enum WorkOrderStatus{ | 
|---|
|  |  |  | waitConfirm( 0, "待分配WTS","{title}上报",""), | 
|---|
|  |  |  | waitAllocation(1, "待分配任务","待分配任务",""), | 
|---|
|  |  |  | waitDeal(2, "待处理","待处理",""), | 
|---|
|  |  |  | sheClose(3, "已解决","SHE已关闭",""), | 
|---|
|  |  |  | 
|---|
|  |  |  | private String statusInfo; | 
|---|
|  |  |  | private String logTitle; | 
|---|
|  |  |  | private String noticeContent; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 构造方法 | 
|---|
|  |  |  | WorkOrderStatus(int status, String statusInfo,String logTitle,String noticeContent ) { | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | this.statusInfo = statusInfo; | 
|---|
|  |  |  | this.logTitle = logTitle; | 
|---|
|  |  |  | this.noticeContent = noticeContent; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public static String getName(int index) { | 
|---|
|  |  |  | for (WorkOrderStatus c : WorkOrderStatus.values()) { | 
|---|
|  |  |  | if (c.getKey() == index) { | 
|---|
|  |  |  | return c.statusInfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int getKey() { | 
|---|
|  |  |  | return status; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setKey(int key) { | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getStatusInfo() { | 
|---|
|  |  |  | return statusInfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setStatusInfo(String statusInfo) { | 
|---|
|  |  |  | this.statusInfo = statusInfo; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getLogTitle() { | 
|---|
|  |  |  | return logTitle; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setLogTitle(String logTitle) { | 
|---|
|  |  |  | this.logTitle = logTitle; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getNoticeContent() { | 
|---|
|  |  |  | return noticeContent; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setNoticeContent(String noticeContent) { | 
|---|
|  |  |  | this.noticeContent = noticeContent; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|