diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java index 6ed91784..657e664d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java @@ -41,13 +41,7 @@ public class FamilyLeaderboardExe { private final FamilyMemberWeekExpService familyMemberWeekExpService; public FamilyLeaderboardCO execute(FamilyBaseInfoQueryCmd cmd) { - Map map = familyMemberInfoService.mapUserIdBaseInfo(cmd.getFamilyId(), Set.of(cmd.getReqUserId())); - FamilyMemberInfo member = map.get(cmd.getReqUserId()); - if (Objects.isNull(member)) { - return new FamilyLeaderboardCO(); - } - - List top100Exp = getTop100WeekExp(member.getFamilyId()); + List top100Exp = getTop100WeekExp(cmd.getFamilyId()); if (CollectionUtils.isEmpty(top100Exp)) { return new FamilyLeaderboardCO(); }