lzh
631612951c
fix(iot): 修复客流统计持久化无数据和租户隔离问题
1. 解耦统计采集与工单触发:将 incrementDaily() 提前到配置检查之前,
即使设备未配置工单触发规则,统计数据也能正常写入 Redis
2. 修复租户隔离:Redis Hash 中写入 tenantId,持久化任务读取后在
正确的租户上下文中执行 upsert 和区域查询
3. 修复清理任务:使用 TenantUtils.executeIgnore() 避免 XXL-Job
线程无租户上下文导致 NPE
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:18:48 +08:00
..
2026-02-08 00:21:14 +08:00
2025-12-31 16:49:44 +08:00
2026-02-02 22:42:45 +08:00
2026-02-10 13:18:48 +08:00
2026-02-08 00:19:24 +08:00
2025-12-31 16:49:44 +08:00
2025-12-31 16:49:44 +08:00
2025-12-31 16:49:44 +08:00