From 42be66921b0858e7eb1a0b729059242827a471fa Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 29 Apr 2026 21:17:02 +0800 Subject: [PATCH] =?UTF-8?q?cp=E7=8A=B6=E6=80=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit c4ea4225903a11a8869dba59bdff134b267e9c66) --- .../inner/service/user/user/impl/UserCpClientServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserCpClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserCpClientServiceImpl.java index dc0adbc6..0bd7ed16 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserCpClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserCpClientServiceImpl.java @@ -8,6 +8,7 @@ import com.red.circle.other.infra.database.rds.service.user.user.CpApplyService; import com.red.circle.other.infra.database.rds.service.user.user.CpRelationshipService; import com.red.circle.other.infra.database.rds.service.user.user.CpValueService; import com.red.circle.other.app.inner.convertor.user.UserCpInnerConvertor; +import com.red.circle.other.infra.enums.user.user.CpRelationshipStatus; import com.red.circle.other.inner.model.cmd.user.CpApplyQryCmd; import com.red.circle.other.inner.model.dto.user.CpRelationshipDTO; import com.red.circle.other.inner.model.dto.user.CpUserInfoDTO; @@ -100,6 +101,7 @@ public class UserCpClientServiceImpl implements UserCpClientService { } List list = cpRelationshipService.query() .select(CpRelationship::getUserId, CpRelationship::getCpUserId, CpRelationship::getCpValId) + .eq(CpRelationship::getStatus, CpRelationshipStatus.NORMAL.name()) .in(CpRelationship::getUserId, userIds) .list(); if (CollectionUtils.isEmpty(list)) {