1.生效区域下发格式修改 2.日志总量日志查询时间修改

This commit is contained in:
zhangwenqing
2018-09-28 12:00:13 +08:00
parent ab50f58560
commit 9ce49b9e25
9 changed files with 194 additions and 22 deletions

View File

@@ -503,4 +503,18 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
}
return str;
}
public static String revertStr(String str,String regex){
String[] split = str.split(regex);
String value = "";
for (int i = split.length-1; i >= 0 ; i--) {
if( i != 0) {
value += split[i]+"/";
}else {
value += split[i];
}
}
return value;
}
}