list快速分组 achtungbaby 2021-07-12 120 阅读1分钟 Map<Long, List> map = list.stream().collect(Collectors.groupingBy(s -> s.orgId()));