public String getString(String[] strArr){
StringBuilder sb = new StringBuilder();
for(String s:strArr) {
//防止最后一位拼接逗号
if (sb.length() > 0) {
sb.append(",");
}
sb.append(s);
}
}
public String getString(String[] strArr){
StringBuilder sb = new StringBuilder();
for(String s:strArr) {
//防止最后一位拼接逗号
if (sb.length() > 0) {
sb.append(",");
}
sb.append(s);
}
}