From ec7e0f5c2190e5b8cbc551eac483f85212528be2 Mon Sep 17 00:00:00 2001 From: jay <75509151@qq.com> Date: Fri, 14 Jun 2024 10:41:37 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE-=E7=A7=9F=E6=88=B7id=20fix=20getTenantId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cc/iotkit/common/tenant/helper/TenantHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot-common-tenant/src/main/java/cc/iotkit/common/tenant/helper/TenantHelper.java b/iot-common-tenant/src/main/java/cc/iotkit/common/tenant/helper/TenantHelper.java index 25b4b9c..67f1f5b 100755 --- a/iot-common-tenant/src/main/java/cc/iotkit/common/tenant/helper/TenantHelper.java +++ b/iot-common-tenant/src/main/java/cc/iotkit/common/tenant/helper/TenantHelper.java @@ -110,7 +110,7 @@ public class TenantHelper { * 获取当前租户id(动态租户优先) */ public static Long getTenantId() { - Long tenantId = Long.valueOf(TenantHelper.getDynamic()); + Long tenantId = TenantHelper.getDynamic(); if (Objects.isNull(tenantId)) { tenantId = LoginHelper.getTenantId(); }