- String 和List集合相互转换
String[] str = StringUtils.splitByWholeSeparatorPreserveAllTokens(allowCode, "、");
StringUtils.join(allowCodes, "、")
- 截取前10个字符
String aa =date.substring(0,10);
String[] str = StringUtils.splitByWholeSeparatorPreserveAllTokens(allowCode, "、");
StringUtils.join(allowCodes, "、")
String aa =date.substring(0,10);