From 3ab03bf0e7809b9c0b5fc07b4644412086bc9249 Mon Sep 17 00:00:00 2001 From: "Michelle.Chung" <1242874891@qq.com> Date: Thu, 23 Feb 2023 20:31:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E6=AD=A3=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=A4=B1=E8=B4=A5=E6=97=B6=E6=9C=AA=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=BF=BD=E7=95=A5=E7=A7=9F=E6=88=B7=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/service/impl/SysTenantServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysTenantServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysTenantServiceImpl.java index ff84c9f4..254119ec 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysTenantServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysTenantServiceImpl.java @@ -124,6 +124,7 @@ public class SysTenantServiceImpl implements ISysTenantService { add.setTenantId(tenantId); boolean flag = baseMapper.insert(add) > 0; if (!flag) { + TenantHelper.disableIgnore(); throw new ServiceException("创建租户失败"); } bo.setId(add.getId());