| | |
| | | |
| | | 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) |
| | |
| | | |
| | | 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); |
| | |
| | | vm.setDoQuestionCount(doQuestionCount); |
| | | |
| | | List<Integer> mothDayUserActionValue = userEventLogService.selectMothCount(); |
| | | List<Integer> mothDayDoExamQuestionValue = examPaperQuestionCustomerAnswerService.selectMothCount(); |
| | | List<Integer> mothDayDoExamQuestionValue = examPaperScoreDetailService.selectMothCount(); |
| | | vm.setMothDayUserActionValue(mothDayUserActionValue); |
| | | vm.setMothDayDoExamQuestionValue(mothDayDoExamQuestionValue); |
| | | |