给统计缓存加版本并绑定现有基础数据/课表失效标签,同时让演示数据、人员数据写入主动清理统计缓存;不改统计口径、筛选、导出或页面结构。

This commit is contained in:
2026-07-26 21:32:51 +08:00 Unverified
parent 034f1eacb8
commit b39a57ebdf
7 changed files with 35 additions and 2 deletions
@@ -147,6 +147,9 @@ public sealed class PersonnelExcelController(
await cache.RemoveByTagAsync(
AppCacheTags.Timetables,
cancellationToken);
await cache.RemoveByTagAsync(
AppCacheTags.Analytics,
cancellationToken);
return Ok(result);
}
catch (DbUpdateException)