From a098e8ab825c5b1baf8437e6f4bcfc89bd405ea2 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 9 Jan 2026 11:45:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B6=E6=97=8F=E6=9D=83=E9=99=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/command/family/FamilyBaseInfoExe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyBaseInfoExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyBaseInfoExe.java index 8b41eb7d..7481593c 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyBaseInfoExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyBaseInfoExe.java @@ -164,7 +164,7 @@ public class FamilyBaseInfoExe { .setLevelBackgroundPicture(familyLevel.getLevelBackgroundPicture()) .setBoxInfo(boxInfo) .setMemberList(memberList) - .setMyFamilyRole(Optional.ofNullable(myFamilyInfo).map(FamilyMemberInfo::getMemberRole).orElse(null)) + .setMyFamilyRole(Optional.ofNullable(myFamilyInfo).filter(e -> e.getFamilyId().equals(baseInfo.getId())).map(FamilyMemberInfo::getMemberRole).orElse(null)) .setJoinWaiting(joinWaiting) ; }