From ca4c633f2ee9118366853dcb93d612f223ab0b8e Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Fri, 5 Nov 2021 23:07:23 +0800 Subject: [PATCH] =?UTF-8?q?Feature:=20=E5=BC=80=E5=8F=91=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0=E6=97=B6=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=97=A7=E7=A7=9F=E6=88=B7=E5=90=8D=E5=87=BD=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/handler/TenantIdFunctionServiceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/src/main/java/com/github/dynamic/threadpool/config/service/handler/TenantIdFunctionServiceImpl.java b/config/src/main/java/com/github/dynamic/threadpool/config/service/handler/TenantIdFunctionServiceImpl.java index 74a5ed68..00bc6020 100644 --- a/config/src/main/java/com/github/dynamic/threadpool/config/service/handler/TenantIdFunctionServiceImpl.java +++ b/config/src/main/java/com/github/dynamic/threadpool/config/service/handler/TenantIdFunctionServiceImpl.java @@ -9,7 +9,7 @@ import org.springframework.stereotype.Component; import java.util.Optional; /** - * 查找项目 Id 旧值. + * 查找原租户名称. * * @author chen.ma * @date 2021/10/24 22:07 @@ -20,6 +20,11 @@ public class TenantIdFunctionServiceImpl implements ParseFunction { private final TenantService tenantService; + @Override + public boolean executeBefore() { + return true; + } + @Override public String functionName() { return "TENANT";