Map
2020-11-07 本文已影响0人
盗生一
Map<String, GroupInfo> groupInfoMap = this.groupService.lambdaQuery().in(CollectionUtils.isNotEmpty(lstGroupId), GroupInfo::getGroupId, lstGroupId)
.list()
.stream().collect(Collectors.toMap(GroupInfo::getGroupId, info -> info));