cp列表调整

This commit is contained in:
tianfeng 2025-12-11 18:01:21 +08:00
parent eeff1d35a5
commit dbcd7b1c84

View File

@ -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()