From dfb34916e7601719645d5155aa5e0f9987237079 Mon Sep 17 00:00:00 2001 From: xupei Date: Thu, 18 Dec 2025 14:52:12 +0800 Subject: [PATCH] =?UTF-8?q?BUGFIX:=E8=AE=A2=E9=98=85=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E4=B8=8E=E5=AD=90=E8=B4=A6=E5=8F=B7=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/service/impl/AccountServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java index 4becada3..e17804a9 100644 --- a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java @@ -3553,7 +3553,8 @@ public class AccountServiceImpl extends ServiceImpl impl // 只有当前子账号数量为0时允许批量上传 QueryWrapper qw = new QueryWrapper<>(); qw.lambda().eq(Account::getSystemUser, 8) - .eq(Account::getOrganizationId, parent.getOrganizationId()); + .eq(Account::getOrganizationId, parent.getOrganizationId()) + .eq(Account::getSubscriptionPlanId, parent.getSubscriptionPlanId()); List accounts = accountMapper.selectList(qw); if (!accounts.isEmpty()) { throw new BusinessException("permit.bulk.creation", ResultEnum.PROMPT.getCode());