String str=null;
if (list.size() > 0) {
str= StringUtils.collectionToDelimitedString(list, ",");
}
list 转换成string 以逗号分割
时间: 2024-11-10 01:07:48
String str=null;
if (list.size() > 0) {
str= StringUtils.collectionToDelimitedString(list, ",");
}
list 转换成string 以逗号分割