mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
fix(tenant): 将 TenantUtils.executeIgnore 方法改为静态方法
This commit is contained in:
@@ -88,7 +88,7 @@ public class TenantUtils {
|
||||
*
|
||||
* @param runnable 业务逻辑
|
||||
*/
|
||||
public void executeIgnore(Runnable runnable) {
|
||||
public static void executeIgnore(Runnable runnable) {
|
||||
// 未启用或忽略租户,直接执行业务逻辑
|
||||
if (TenantContextHolder.isTenantDisabled() || TenantContextHolder.isIgnore()) {
|
||||
runnable.run();
|
||||
|
Reference in New Issue
Block a user