欢迎来到我的博客
摘要: 比如查询出了所有学生的各科成绩列表,再按学生分组求和 Map<Integer, Double> collect = testList.stream().collect(Collectors.groupingBy(UserEntity::getUserId, Collectors.summingDou 阅读全文
posted @ 2023-02-24 09:08 fchhk 阅读(41) 评论(0) 推荐(0)