From d3d3ca871c64cf1861e95d33cc554cc6c423610f Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 28 Nov 2025 16:05:07 +0800 Subject: [PATCH] =?UTF-8?q?bdleader=E6=8E=A5=E6=94=B6=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/command/team/BdLeaderInviteMessageProcessExe.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteMessageProcessExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteMessageProcessExe.java index a9d37a13..c469aecd 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteMessageProcessExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteMessageProcessExe.java @@ -127,9 +127,10 @@ public class BdLeaderInviteMessageProcessExe { ResponseAssert.isTrue(CommonErrorCode.NOT_FOUND_RECORD_INFO, Objects.equals(message.getGroup(), MessageInviteGroup.BD_LEADER_INVITE_BD_LEADER.name())); - ResponseAssert - .isFalse(TeamErrorCode.USER_IS_ALREADY_A_BDLEADER, + ResponseAssert.isFalse(TeamErrorCode.USER_IS_ALREADY_A_BDLEADER, roomBdLeadService.checkBdLeader(cmd.requiredReqUserId())); + ResponseAssert.isFalse(TeamErrorCode.USER_IS_ALREADY_A_BD, + businessDevelopmentBaseInfoService.checkBD(cmd.requiredReqUserId())); ResponseAssert.isTrue(CommonErrorCode.INSUFFICIENT_PERMISSION, Objects.equals(message.getInviteUserId(), cmd.requiredReqUserId()));