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)) {