List<String> id = ids.stream().map(asg -> "'" + asg + "'").collect(Collectors.toList()); 给id拼接上引号
StringUtils.join(idList, ',') 数组转化为字符串
List<String> id = ids.stream().map(asg -> "'" + asg + "'").collect(Collectors.toList()); 给id拼接上引号
StringUtils.join(idList, ',') 数组转化为字符串