cp列表调整
This commit is contained in:
parent
eeff1d35a5
commit
dbcd7b1c84
@ -48,10 +48,7 @@ public class UserCpPairUserProfileQryExe {
|
|||||||
List<CpRelationship> dismissing = cpRelationshipService.getDismissingByUserId(cmd.requiredReqUserId());
|
List<CpRelationship> dismissing = cpRelationshipService.getDismissingByUserId(cmd.requiredReqUserId());
|
||||||
cpRelationshipList.addAll(dismissing);
|
cpRelationshipList.addAll(dismissing);
|
||||||
if (cpRelationshipList.isEmpty()) {
|
if (cpRelationshipList.isEmpty()) {
|
||||||
return List.of(
|
return List.of(new CpPairUserProfileCO());
|
||||||
new CpPairUserProfileCO()
|
|
||||||
.setMeUserProfile(userProfileAppConvertor.toUserProfileDTO((meUser)))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return cpRelationshipList.stream()
|
return cpRelationshipList.stream()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user