将逗号分隔 的字符串转化成List
List<String> parIdListTmp = new ArrayList<String>();
String parIdArray[] = parFenLeiIds.split(",");
Collections.addAll(parIdListTmp, parIdArray);
时间: 2024-10-28 03:18:04
将逗号分隔 的字符串转化成List
List<String> parIdListTmp = new ArrayList<String>();
String parIdArray[] = parFenLeiIds.split(",");
Collections.addAll(parIdListTmp, parIdArray);