| | |
| | | public static final String HK_ROOTORG_CODE ="HK_ROOTORG_CODE" ; |
| | | public static final String HK_ROOTORG_NAME ="HK_ROOTORG_NAME" ; |
| | | public static final String REDIS_TOKEN_KEY = "token_"; |
| | | public static final String CUSTOMER = "CUSTOMER"; |
| | | public static final String BUSINESS = "BUSINESS"; |
| | | |
| | | |
| | | //被拜访人信息校验方式(0手机号单独校验 1手机号和姓名组合校验) |
| | | public static final String BEVISITED_USER_VALID = "BEVISITED_USER_VALID"; |
| | |
| | | public static final String FILE_DIR = ""; |
| | | public static final String INITIAL_PASSWORD = "INITIAL_PASSWORD"; |
| | | public static final String VALIDATE_VISIT = "VALIDATE_VISIT"; |
| | | public static final String PLATFORM = "mp-weixin"; |
| | | |
| | | // 访客来访配置 |
| | | public static final String VISIT_CONFIG = "VISIT_CONFIG"; |
| | |
| | | int otherDeal = 4;//他人已处理 |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据配置处理房屋户型信息 |
| | | * @param layout |
| | | * @return |
| | | */ |
| | | public static String getHouseLayout(String layout){ |
| | | if(StringUtils.isBlank(layout)){ |
| | | return null; |
| | | } |
| | | String [] arr = layout.split("-"); |
| | | StringBuffer stringBuffer = new StringBuffer(); |
| | | for (int i = 0; i < arr.length; i++) { |
| | | if(i==0){ |
| | | stringBuffer.append( i + "室"); |
| | | }else if(i==1){ |
| | | stringBuffer.append( i + "厅"); |
| | | }else if(i==2){ |
| | | stringBuffer.append( i + "厨"); |
| | | }else if(i==3){ |
| | | stringBuffer.append( i + "卫"); |
| | | }else if(i==4){ |
| | | stringBuffer.append( i + "阳"); |
| | | }else { |
| | | break; |
| | | } |
| | | |
| | | } |
| | | return stringBuffer.toString(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取车牌类型信息 |
| | | * |