From e1b05d783e11630ad3cf4b094ddf532d5858756e Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Sun, 4 Jan 2026 16:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=8C=87=E5=AE=9A=E5=AE=B6?= =?UTF-8?q?=E6=97=8Fid=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/family/FamilyLeaderboardExe.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); }