From 3ec909b27b3eba956aa9d00cc7a94c179bd04bbf Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 03 七月 2024 18:29:31 +0800
Subject: [PATCH] feat:新增随机时间题目配置

---
 src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java
index 8c6d5ec..8fe8d1a 100644
--- a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java
+++ b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java
@@ -4,8 +4,8 @@
 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.ScoreTemplatesCountVO;
-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;
 import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageVM;
@@ -14,13 +14,14 @@
 
 import java.util.Date;
 import java.util.List;
+import java.util.Map;
 
 @Mapper
 public interface ExamPaperAnswerMapper extends BaseMapper<ExamPaperAnswer> {
 
     List<ExamPaperAnswer> studentPage(ExamPaperAnswerPageVM requestVM);
 
-    Integer selectAllCount();
+    Integer selectAllCount(List<Integer> deptIds);
 
     List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
 
@@ -46,7 +47,27 @@
 
     List<TeamplatesUserExcelVO> getByTimeOne();
 
+    void setMissExam(ExamPaperEditRequestVM model);
 
+    void setMissExam(ExamTemplatesVO model);
 
+    void setMissExamByTemplate(ExamTemplatesVO model);
 
+    void insertDefault(ExamPaperEditRequestVM 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