|  |  |  | 
|---|
|  |  |  | public static final String HK_NGINX_URL = "HK_NGINX_URL"; | 
|---|
|  |  |  | public static final String PLATFORM_BOOKING_TIPS = "PLATFORM_BOOKING_TIPS"; | 
|---|
|  |  |  | public static final String PLATFORM_GUIDEMAP = "PLATFORM_GUIDEMAP"; | 
|---|
|  |  |  | public static final String WSM_PARAM ="WSM_PARAM" ; | 
|---|
|  |  |  | public static final String WMS_PARAM ="WMS_PARAM" ; | 
|---|
|  |  |  | public static final String WMS_INBOUND_PLATFROM_URL ="WMS_INBOUND_PLATFROM_URL" ; | 
|---|
|  |  |  | public static final String WMS_GET_INVENTORYLIST_URL ="WMS_GET_INVENTORYLIST_URL" ; | 
|---|
|  |  |  | public static final String WMS_OUTBOUND_PLATFROM_URL ="WMS_OUTBOUND_PLATFROM_URL" ; | 
|---|
|  |  |  | public static final String TSM_PARAM ="TSM_PARAM" ; | 
|---|
|  |  |  | public static final String TMS_ORDER_LIST_URL ="TMS_ORDER_LIST_URL" ; | 
|---|
|  |  |  | public static final String TMS_ORDER_DETAIL_URL ="TMS_ORDER_DETAIL_URL" ; | 
|---|
|  |  |  | public static final String TMS_LOCK_STATUS_URL ="TMS_LOCK_STATUS_URL" ; | 
|---|
|  |  |  | public static final String TMS_INTERFACE_URL_PREFIX ="TMS_INTERFACE_URL_PREFIX" ; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCPRIVILEGE= false; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCDEVICE = false; | 
|---|
|  |  |  | public static  boolean DEALING_HK_SYNCPLATFORM = false; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return s.substring(0,5)+"*******"+s.substring(l-6,l); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static  String  carCodeTuominStr(String s){ | 
|---|
|  |  |  | if(StringUtils.isEmpty(s)){ | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | int l = s.length(); | 
|---|
|  |  |  | if(Constants.equalsInteger(l,7)){ | 
|---|
|  |  |  | return s.substring(0,3)+"***"+s.substring(l-1,l); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(l <= 8){ | 
|---|
|  |  |  | return s.substring(0,3)+"****"+s.substring(l-1,l); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return s; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 切分逗号拼接的整形集合 | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static void main(String[] args) { | 
|---|
|  |  |  | System.out.println(Constants.getVehiclePlateNo("皖AA10991").getDescription()); | 
|---|
|  |  |  | System.out.println(Constants.carCodeTuominStr("皖A10991")); | 
|---|
|  |  |  | System.out.println(Constants.carCodeTuominStr("皖AA10991")); | 
|---|
|  |  |  | //        System.out.println(Constants.getVehiclePlateNo("湘B140D17").getDescription()); | 
|---|
|  |  |  | //        System.out.println(Constants.getVehiclePlateNo("宿AP0637").getDescription()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public  enum NoticeType { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ZERO(0, "待审核","","","待审核","待处理","处理中"), | 
|---|
|  |  |  | ONE(1, "企业待签署","","","工种待审核","","已结案"), | 
|---|
|  |  |  | TWO(2, "待出单","待审核","待审核","","",""), | 
|---|
|  |  |  | THREE(3, "申请退回","申请退回","申请退回","","",""), | 
|---|
|  |  |  | FOUR(4, "已退回","已退回","已退回","","","已撤销"), | 
|---|
|  |  |  | FIVE(5, "申请驳回","申请驳回","申请驳回","","",""), | 
|---|
|  |  |  | //续保通知 | 
|---|
|  |  |  | SIX(6, "","","","","",""), | 
|---|
|  |  |  | //商户端 委托保 - 投保待审核 加减保 换厂 待审核 | 
|---|
|  |  |  | SEVEN(7, "待审核","待审核","待审核","","",""), | 
|---|
|  |  |  | EIGHT(8, "","","","","",""), | 
|---|
|  |  |  | NINE(9, "","","","","",""), | 
|---|
|  |  |  | ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 成员变量 | 
|---|
|  |  |  | private int status; | 
|---|
|  |  |  | private String insuranceApplyDetail; | 
|---|
|  |  |  | private String applyChangeDetail; | 
|---|
|  |  |  | private String changeFactoryDetail; | 
|---|
|  |  |  | private String dispatchUnitDetail; | 
|---|
|  |  |  | private String taxesDetail; | 
|---|
|  |  |  | private String settleClaimsDetail; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 构造方法 | 
|---|
|  |  |  | NoticeType(int status, String insuranceApplyDetail,String applyChangeDetail | 
|---|
|  |  |  | , String changeFactoryDetail,String dispatchUnitDetail | 
|---|
|  |  |  | , String taxesDetail,String settleClaimsDetail) { | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | this.insuranceApplyDetail = insuranceApplyDetail; | 
|---|
|  |  |  | this.applyChangeDetail = applyChangeDetail; | 
|---|
|  |  |  | this.changeFactoryDetail = changeFactoryDetail; | 
|---|
|  |  |  | this.dispatchUnitDetail = dispatchUnitDetail; | 
|---|
|  |  |  | this.taxesDetail = taxesDetail; | 
|---|
|  |  |  | this.settleClaimsDetail = settleClaimsDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // get set 方法 | 
|---|
|  |  |  | public int getStatus() { | 
|---|
|  |  |  | return status; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setStatus(int status) { | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getInsuranceApplyDetail() { | 
|---|
|  |  |  | return insuranceApplyDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setInsuranceApplyDetail(String name) { | 
|---|
|  |  |  | this.insuranceApplyDetail = insuranceApplyDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getApplyChangeDetail() { | 
|---|
|  |  |  | return applyChangeDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setApplyChangeDetail(String info) { | 
|---|
|  |  |  | this.applyChangeDetail = applyChangeDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getChangeFactoryDetail() { | 
|---|
|  |  |  | return changeFactoryDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setChangeFactoryDetail(String info) { | 
|---|
|  |  |  | this.changeFactoryDetail = changeFactoryDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getDispatchUnitDetail() { | 
|---|
|  |  |  | return dispatchUnitDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setDispatchUnitDetail(String info) { | 
|---|
|  |  |  | this.dispatchUnitDetail = dispatchUnitDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getTaxesDetail() { | 
|---|
|  |  |  | return taxesDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setTaxesDetail(String info) { | 
|---|
|  |  |  | this.taxesDetail = taxesDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getSettleClaimsDetail() { | 
|---|
|  |  |  | return settleClaimsDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setSettleClaimsDetail(String info) { | 
|---|
|  |  |  | this.settleClaimsDetail = settleClaimsDetail; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public  enum PlatformWarnEvent { | 
|---|
|  |  |  | STOP_TIMEOUT(0, "停靠超时","${carCode}月台停靠超时" ), | 
|---|
|  |  |  | STOP_ERROR(1, "停靠错误","${carCode}月台停靠错误" ); | 
|---|
|  |  |  | STOP_ERROR(1, "停靠错误","${carCode}月台停靠错误" ), | 
|---|
|  |  |  | WORK_TIMEOUT(2, "作业超时","${carCode}作业超时" ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 成员变量 | 
|---|
|  |  |  | private int key; | 
|---|
|  |  |  | 
|---|
|  |  |  | WORKING(3, "作业中","${param} ${param2} 作业中" ), | 
|---|
|  |  |  | WRONG_IN(4, "错误停靠","${param} ${param2} 当前车辆错误停靠,请尽快驶离" ), | 
|---|
|  |  |  | TIMEOUT_IN(5, "超时停靠","${param} ${param2} 当前车辆超时停靠,请尽快驶离" ), | 
|---|
|  |  |  | TIMEOUT_WORK(6, "作业超时","${param} ${param2} 当前车辆作业超时" ), | 
|---|
|  |  |  | ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 成员变量 | 
|---|
|  |  |  | 
|---|
|  |  |  | 2. 作业完成:皖A12345作业完成,请尽快驶离 | 
|---|
|  |  |  | 3. 错误停靠:皖A12345月台停靠错误,请尽快驶离 | 
|---|
|  |  |  | 4. 超时停靠:皖A12345月台停靠超时,请尽快驶离请尽快驶离 | 
|---|
|  |  |  | 5. 作业超时:皖A12345月台停靠超时,请尽快驶离请尽快驶离 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public  enum PlatformBroadcastContent { | 
|---|
|  |  |  | CALLING(1, "叫号中"," ${param}请前往${param2}等待作业"), | 
|---|
|  |  |  | CALLING(1, "叫号中","${param}请前往${param2}等待作业"), | 
|---|
|  |  |  | DONE(2, "作业完成","${param}作业完成,请尽快驶离" ), | 
|---|
|  |  |  | WRONG_IN(3, "错误停靠","${param}月台停靠错误,请尽快驶离" ), | 
|---|
|  |  |  | TIMEOUT_IN(4, "超时停靠","${param}月台停靠超时,请尽快驶离请尽快驶离" ), | 
|---|
|  |  |  | TIMEOUT_WORK(5, "作业超时","${param}作业超时" ), | 
|---|
|  |  |  | ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 成员变量 | 
|---|