From 81bcf718cd986bd9ed68ffec31e322a5cc27afe4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 30 Mar 2024 18:02:25 +0800 Subject: [PATCH] =?UTF-8?q?BPM=EF=BC=9A=E8=A7=A3=E5=86=B3=E7=A7=9F?= =?UTF-8?q?=E6=88=B7=E5=85=B3=E9=97=AD=E6=97=B6=EF=BC=8CFlowable=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BC=9A=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenant/core/context/TenantContextHolder.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/context/TenantContextHolder.java b/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/context/TenantContextHolder.java index e78a8b859..4e7b5e0d5 100644 --- a/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/context/TenantContextHolder.java +++ b/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/context/TenantContextHolder.java @@ -1,6 +1,5 @@ package cn.iocoder.yudao.framework.tenant.core.context; -import cn.hutool.core.util.StrUtil; import cn.iocoder.yudao.framework.common.enums.DocumentEnum; import com.alibaba.ttl.TransmittableThreadLocal; @@ -30,16 +29,6 @@ public class TenantContextHolder { return TENANT_ID.get(); } - /** - * 获得租户编号 String - * - * @return 租户编号 - */ - public static String getTenantIdStr() { - Long tenantId = getTenantId(); - return StrUtil.toStringOrNull(tenantId); - } - /** * 获得租户编号。如果不存在,则抛出 NullPointerException 异常 *