|
|
@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
|
|
|
|
import java.util.Optional;
|
|
|
|
import java.util.Optional;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查找项目 Id 旧值.
|
|
|
|
* 查找原租户名称.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author chen.ma
|
|
|
|
* @author chen.ma
|
|
|
|
* @date 2021/10/24 22:07
|
|
|
|
* @date 2021/10/24 22:07
|
|
|
@ -20,6 +20,11 @@ public class TenantIdFunctionServiceImpl implements ParseFunction {
|
|
|
|
|
|
|
|
|
|
|
|
private final TenantService tenantService;
|
|
|
|
private final TenantService tenantService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public boolean executeBefore() {
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String functionName() {
|
|
|
|
public String functionName() {
|
|
|
|
return "TENANT";
|
|
|
|
return "TENANT";
|
|
|
|