feat:【framework 框架】优化 jackson 的初始化

This commit is contained in:
YunaiV
2025-08-24 16:03:39 +08:00
parent 005d64aae6
commit 441fe18720
3 changed files with 51 additions and 25 deletions

View File

@@ -75,7 +75,7 @@ public class TenantDatabaseInterceptor implements TenantLineHandler {
if (TenantBaseDO.class.isAssignableFrom(tableInfo.getEntityType())) {
return false;
}
// 如果添加了 @TenantIgnore 注解,显然也不忽略租户
// 如果添加了 @TenantIgnore 注解,忽略租户
TenantIgnore tenantIgnore = tableInfo.getEntityType().getAnnotation(TenantIgnore.class);
return tenantIgnore != null;
}