Map

作者: 盗生一 | 来源:发表于2020-11-07 15:21 被阅读0次
Map<String, GroupInfo> groupInfoMap = this.groupService.lambdaQuery().in(CollectionUtils.isNotEmpty(lstGroupId), GroupInfo::getGroupId, lstGroupId)
            .list()
            .stream().collect(Collectors.toMap(GroupInfo::getGroupId, info -> info));

相关文章

网友评论

      本文标题:Map

      本文链接:https://www.haomeiwen.com/subject/fpzfbktx.html