| | |
| | | public RestResponse<IndexVM> Index() { |
| | | IndexVM vm = new IndexVM(); |
| | | |
| | | Integer examPaperCount = examPaperService.selectAllCount(); |
| | | List<Integer> deptIds = getAdminDeptIds(); |
| | | Integer examPaperCount = examPaperService.selectAllCount(deptIds); |
| | | Integer questionCount = questionService.selectAllCount(); |
| | | Integer doExamPaperCount = examPaperAnswerService.selectAllCount(); |
| | | Integer doQuestionCount = examPaperQuestionCustomerAnswerService.selectAllCount(); |
| | | Integer doExamPaperCount = examPaperAnswerService.selectAllCount(deptIds); |
| | | Integer doQuestionCount = examPaperQuestionCustomerAnswerService.selectAllCount(deptIds); |
| | | |
| | | vm.setExamPaperCount(examPaperCount); |
| | | vm.setQuestionCount(questionCount); |
| | | vm.setDoExamPaperCount(doExamPaperCount); |
| | | vm.setDoQuestionCount(doQuestionCount); |
| | | |
| | | List<Integer> mothDayUserActionValue = userEventLogService.selectMothCount(); |
| | | List<Integer> mothDayDoExamQuestionValue = examPaperQuestionCustomerAnswerService.selectMothCount(); |
| | | List<Integer> mothDayUserActionValue = userEventLogService.selectMothCount(deptIds); |
| | | List<Integer> mothDayDoExamQuestionValue = examPaperQuestionCustomerAnswerService.selectMothCount(deptIds); |
| | | vm.setMothDayUserActionValue(mothDayUserActionValue); |
| | | vm.setMothDayDoExamQuestionValue(mothDayDoExamQuestionValue); |
| | | |