From de723adff546eb1249dd33ab6aa898deb930de75 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 30 五月 2024 11:20:43 +0800 Subject: [PATCH] 编辑试卷时选择部门出现对应的课目 --- src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java index 06e76c1..8fe8d1a 100644 --- a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java @@ -4,9 +4,7 @@ import com.mindskip.xzs.domain.ExamTemplatesUserCount; import com.mindskip.xzs.domain.ScoreTemplatesUserCount; import com.mindskip.xzs.domain.other.KeyValue; -import com.mindskip.xzs.domain.vo.ExamPaperStatisticVO; -import com.mindskip.xzs.domain.vo.ExamTemplatesVO; -import com.mindskip.xzs.domain.vo.TeamplatesUserExcelVO; +import com.mindskip.xzs.domain.vo.*; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradePageRequestVM; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery; @@ -57,9 +55,19 @@ void insertDefault(ExamPaperEditRequestVM model); - void insertDefaultByTemplate(ExamTemplatesVO model); - Map<String, Object> histogram(ExamPaperStatisticVO examPaperStatisticVO); + Map<String, Object> histogramByTemplate(ExamPaperStatisticVO examPaperStatisticVO); + Map<String, Object> pieChart(ExamPaperStatisticVO examPaperStatisticVO); + + List<ExamPaperDataExportVO> dataByTemplate(ExamPaperDataVO examPaperDataVO); + + ExamPaperDataExportVO totalByTemplate(ExamPaperDataVO examPaperDataVO); + + List<ExamPaperDataExportVO> dataByPaper(ExamPaperDataVO examPaperDataVO); + + ExamPaperDataExportVO totalByPaper(ExamPaperDataVO examPaperDataVO); + + Integer getExamTotal(ExamPaperStatisticVO examPaperStatisticVO); } -- Gitblit v1.8.0