diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java index f5e9177a..2ef140d1 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java @@ -102,7 +102,7 @@ public class UserProfileUseQryExe { userRelationInterviewService.addVisitor(userIdCmd); boolean match = userProfileDTO.getCpList().stream().anyMatch(e -> - e.getMeUserId().equals(cmd.requiredReqUserId()) && e.getCpUserId().equals(userProfile.getId())); + e.getMeUserId().equals(userProfile.getId()) && e.getCpUserId().equals(cmd.requiredReqUserId())); userProfileDTO.setIsCpRelation(match); } return userProfileDTO;