@@ -119,7 +119,7 @@ public class VppRTeamMemberRoleServiceImpl implements VppRTeamMemberRoleService
// 如果成员存在,校验数据
if (null != byAccount) {
// 判断是否存在于其他公司
- if (byAccount.getCompanyId().equals(user.getCompanyId())) {
+ if (!byAccount.getCompanyId().equals(user.getCompanyId())) {
throw new BackendRuntimeException(VppMemberConstant.MEMBEU_HAS_JOINED);
}
// 查询用户是否已存在其他团队中