From 174557924de56a95fc96c06f3072d735da47a1b2 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 11 Dec 2025 21:50:14 +0800 Subject: [PATCH] =?UTF-8?q?cp=E7=BC=93=E5=AD=98=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gateway/user/UserRunProfileTransportGatewayImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserRunProfileTransportGatewayImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserRunProfileTransportGatewayImpl.java index f42eb380..e9faf39c 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserRunProfileTransportGatewayImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/gateway/user/UserRunProfileTransportGatewayImpl.java @@ -336,9 +336,9 @@ public class UserRunProfileTransportGatewayImpl implements UserRunProfileTranspo Set cpUserIds = cpRelationshipList.stream() .map(CpRelationship::getCpUserId) .collect(Collectors.toSet()); - List cpUserProfiles = userRunProfileService.listByIds(cpUserIds); - Map cpUserProfileMap = cpUserProfiles.stream() - .collect(Collectors.toMap(UserRunProfile::getId, Function.identity())); + List cpUserProfiles = baseInfoService.listByUserId(cpUserIds); + Map cpUserProfileMap = cpUserProfiles.stream() + .collect(Collectors.toMap(BaseInfo::getId, Function.identity())); // 批量获取CP值 Set cpValIds = cpRelationshipList.stream() @@ -349,7 +349,7 @@ public class UserRunProfileTransportGatewayImpl implements UserRunProfileTranspo // 组装CP列表 List cpList = cpRelationshipList.stream() .map(cpRelationship -> { - UserRunProfile cpUser = cpUserProfileMap.get(cpRelationship.getCpUserId()); + BaseInfo cpUser = cpUserProfileMap.get(cpRelationship.getCpUserId()); if (cpUser == null) { return null; }