List<Student> list = this.list(queryWrapper);
Map<Integer,List<Student>>map=list.stream().collect(
Collectors.groupingBy(Student::getId));
steam流对list集合分组
猜你喜欢
转载自blog.csdn.net/qq_49641620/article/details/133354201
今日推荐
周排行