parent
b81e8e9e72
commit
ec7e0f5c21
|
@ -110,7 +110,7 @@ public class TenantHelper {
|
||||||
* 获取当前租户id(动态租户优先)
|
* 获取当前租户id(动态租户优先)
|
||||||
*/
|
*/
|
||||||
public static Long getTenantId() {
|
public static Long getTenantId() {
|
||||||
Long tenantId = Long.valueOf(TenantHelper.getDynamic());
|
Long tenantId = TenantHelper.getDynamic();
|
||||||
if (Objects.isNull(tenantId)) {
|
if (Objects.isNull(tenantId)) {
|
||||||
tenantId = LoginHelper.getTenantId();
|
tenantId = LoginHelper.getTenantId();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue