From 182c1cde1f4507d12eb4b6b1a4ffd24a2be6c93b Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 10 七月 2024 11:48:40 +0800 Subject: [PATCH] 初始化缓存 --- src/main/java/com/ycl/jxkg/controller/admin/DashboardController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/controller/admin/DashboardController.java b/src/main/java/com/ycl/jxkg/controller/admin/DashboardController.java index ce4a0d9..1b383ea 100644 --- a/src/main/java/com/ycl/jxkg/controller/admin/DashboardController.java +++ b/src/main/java/com/ycl/jxkg/controller/admin/DashboardController.java @@ -19,8 +19,8 @@ private final ExamPaperService examPaperService; private final QuestionService questionService; - private final ExamPaperAnswerService examPaperAnswerService; - private final ExamPaperQuestionCustomerAnswerService examPaperQuestionCustomerAnswerService; + private final ExamPaperScoreService examPaperScoreService; + private final ExamPaperScoreDetailService examPaperScoreDetailService; private final UserEventLogService userEventLogService; @RequestMapping(value = "/index", method = RequestMethod.POST) @@ -29,8 +29,8 @@ Integer examPaperCount = examPaperService.selectAllCount(); Integer questionCount = questionService.selectAllCount(); - Integer doExamPaperCount = examPaperAnswerService.selectAllCount(); - Integer doQuestionCount = examPaperQuestionCustomerAnswerService.selectAllCount(); + Integer doExamPaperCount = examPaperScoreService.selectAllCount(); + Integer doQuestionCount = examPaperScoreService.selectAllQuestionCount(); vm.setExamPaperCount(examPaperCount); vm.setQuestionCount(questionCount); @@ -38,7 +38,7 @@ vm.setDoQuestionCount(doQuestionCount); List<Integer> mothDayUserActionValue = userEventLogService.selectMothCount(); - List<Integer> mothDayDoExamQuestionValue = examPaperQuestionCustomerAnswerService.selectMothCount(); + List<Integer> mothDayDoExamQuestionValue = examPaperScoreDetailService.selectMothCount(); vm.setMothDayUserActionValue(mothDayUserActionValue); vm.setMothDayDoExamQuestionValue(mothDayDoExamQuestionValue); -- Gitblit v1.8.0