mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-11-04 22:57:15 +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