isCpRelation 修复
This commit is contained in:
parent
5ce5a784f0
commit
eb5a5193ed
@ -102,7 +102,7 @@ public class UserProfileUseQryExe {
|
|||||||
userRelationInterviewService.addVisitor(userIdCmd);
|
userRelationInterviewService.addVisitor(userIdCmd);
|
||||||
|
|
||||||
boolean match = userProfileDTO.getCpList().stream().anyMatch(e ->
|
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);
|
userProfileDTO.setIsCpRelation(match);
|
||||||
}
|
}
|
||||||
return userProfileDTO;
|
return userProfileDTO;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user