Skip to content

Commit

Permalink
[improvement] Specify the fields to be returned
Browse files Browse the repository at this point in the history
  • Loading branch information
datasophon committed Nov 7, 2023
1 parent e05a5e3 commit 5e1ab3e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public Result getAllClusterFrame() {

Set<Integer> frameInfoIds = frameInfoEntities.stream().map(FrameInfoEntity::getId).collect(Collectors.toSet());
Map<Integer, List<FrameServiceEntity>> frameServiceGroupBys = frameServiceService.lambdaQuery()
.select(FrameServiceEntity::getId, FrameServiceEntity::getFrameId, FrameServiceEntity::getFrameCode, FrameServiceEntity::getServiceName, FrameServiceEntity::getServiceVersion, FrameServiceEntity::getServiceDesc)
.in(FrameServiceEntity::getFrameId, frameInfoIds)
.list()
.stream()
Expand Down

0 comments on commit 5e1ab3e

Please sign in to comment.