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());
cpRelationshipList.addAll(dismissing);
if (cpRelationshipList.isEmpty()) {
return List.of(
new CpPairUserProfileCO()
.setMeUserProfile(userProfileAppConvertor.toUserProfileDTO((meUser)))
);
return List.of(new CpPairUserProfileCO());
}
return cpRelationshipList.stream()