使用 TenantUtils.execute 包装消息处理逻辑,确保 Redis Stream 异步线程中正确传递租户上下文,避免数据库查询时报错 "TenantContextHolder 不存在租户编号" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
使用 TenantUtils.execute 包装消息处理逻辑,确保 Redis Stream 异步线程中正确传递租户上下文,避免数据库查询时报错 "TenantContextHolder 不存在租户编号" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>