流式编程获得对象集合中某个字段分组的集合
Map<String, List<AnchorOutNoticeDto>> groupedByManagementIdMap =
anchorOutNoticeDtoList.parallelStream()
.collect(Collectors.groupingBy(AnchorOutNoticeDto::getManagementId));
迎风少年
Map<String, List<AnchorOutNoticeDto>> groupedByManagementIdMap =
anchorOutNoticeDtoList.parallelStream()
.collect(Collectors.groupingBy(AnchorOutNoticeDto::getManagementId));