校级管理员,分析报告 添加缓存

main
zhc077 4 months ago
parent 5596d57ce2
commit 61e287daa5
  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java

@ -586,7 +586,7 @@ public class UserHomePageServiceImpl implements UserHomePageService {
}); });
scoreList4Point.stream().sorted(Comparator.comparing(HomePageCompVo::getTotalScore)).collect(Collectors.toList()); scoreList4Point.stream().sorted(Comparator.comparing(HomePageCompVo::getTotalScore)).collect(Collectors.toList());
resultMap.put("比赛学生积分况分析", scoreList4Point); resultMap.put("比赛学生积分况分析", scoreList4Point);
redisUtil.set(REPORT4SCHOOL, resultMap.toString()); redisUtil.set(REPORT4SCHOOL, resultMap);
return resultMap; return resultMap;
} else { } else {
boolean hasKey = redisUtil.hasKey(REPORT4SCHOOL); boolean hasKey = redisUtil.hasKey(REPORT4SCHOOL);

Loading…
Cancel
Save