第二阶段源码

This commit is contained in:
2026-04-23 11:38:47 +08:00
parent 27904a9257
commit 85bb29a749
449 changed files with 45904 additions and 1813 deletions

View File

@@ -110,4 +110,8 @@ public class TenantUtils {
}
}
public static <V> V executeIsAdmin(Callable<V> callable) {
Long id = TenantContextHolder.getTenantId();
return id.equals(1L) ? executeIgnore(callable): execute(id,callable);
}
}