familyId 实时处理
This commit is contained in:
parent
42144ca448
commit
1f9eba03cd
@ -105,6 +105,8 @@ public class UserProfileUseQryExe {
|
|||||||
e.getMeUserId().equals(userProfile.getId()) && e.getCpUserId().equals(cmd.requiredReqUserId()));
|
e.getMeUserId().equals(userProfile.getId()) && e.getCpUserId().equals(cmd.requiredReqUserId()));
|
||||||
userProfileDTO.setIsCpRelation(match);
|
userProfileDTO.setIsCpRelation(match);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
userProfileDTO.setFamilyId(Optional.ofNullable(familyMemberInfoService.getFamilyMemberByUserId(userProfileDTO.getId())).map(FamilyMemberInfo::getFamilyId).orElse(null));
|
||||||
return userProfileDTO;
|
return userProfileDTO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user