update 首页数据大屏

This commit is contained in:
Lemon
2026-05-26 16:19:19 +08:00
parent 52b1535216
commit 05699d5686
15 changed files with 483 additions and 106 deletions

View File

@@ -226,6 +226,8 @@ public class RedisCache {
List<?> dataList = entry.getValue();
if (dataList != null && !dataList.isEmpty()) {
// 先删除旧数据避免rightPushAll追加导致重复
redisTemplate.delete(key);
Long count = redisTemplate.opsForList().rightPushAll(key, dataList);
totalCount += (count != null ? count : 0);