java8List转String逗号分隔符

java8List转String逗号分隔符

String newStr = permissionList.stream().collect(Collectors.joining(","));