1.String[] 转list
方法1:List<String> menuList= Arrays.asList(StringUtils.split(menuId, ","));
2.list 转string
方法1: String str= list.stream().map(m -> String.valueOf(m)).collect(Collectors.joining(","));
1.String[] 转list
方法1:List<String> menuList= Arrays.asList(StringUtils.split(menuId, ","));
2.list 转string
方法1: String str= list.stream().map(m -> String.valueOf(m)).collect(Collectors.joining(","));