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/service/ExamPaperService.java |   34 ++++++++++++++++++++++++++++++----
 1 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
index a8ca91a..11b0a05 100644
--- a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
+++ b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
@@ -1,14 +1,17 @@
 package com.mindskip.xzs.service;
 
+import com.github.pagehelper.PageInfo;
 import com.mindskip.xzs.domain.ExamPaper;
 import com.mindskip.xzs.domain.User;
+import com.mindskip.xzs.domain.vo.ExamTemplatesVO;
+import com.mindskip.xzs.domain.vo.PaperExcelVO;
+import com.mindskip.xzs.domain.vo.UserVO;
 import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM;
+import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVO;
 import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperPageRequestVM;
 import com.mindskip.xzs.viewmodel.student.dashboard.PaperFilter;
 import com.mindskip.xzs.viewmodel.student.dashboard.PaperInfo;
 import com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageVM;
-import com.github.pagehelper.PageInfo;
-import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 
@@ -22,15 +25,38 @@
 
     ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, User user) throws Exception;
 
-    ExamPaperEditRequestVM examPaperToVM(Integer id);
+    ExamPaperEditRequestVO examPaperToVM(Integer id);
 
     List<PaperInfo> indexPaper(PaperFilter paperFilter);
 
-    Integer selectAllCount();
+    Integer selectAllCount(List<Integer> deptIds);
 
     List<Integer> selectMothCount();
 
     Integer removeByIds(Integer[] ids);
 
     List<ExamPaper> gets(Integer[] ids);
+
+    List<PaperExcelVO> getPaperExcelById(Integer id);
+
+    void missExam(ExamPaperEditRequestVM model);
+
+    List<ExamPaper> list(List<Integer> deptIds);
+
+    /**
+     * 鑾峰彇閮ㄩ棬鐨勫鐢�
+     *
+     * @param userVO
+     * @param adminDeptIds
+     * @return
+     */
+    PageInfo<UserVO> selectStudent(UserVO userVO, List<Integer> adminDeptIds);
+
+    void missExamByTemplateId(ExamTemplatesVO model);
+
+    /**
+     * 鑰冭瘯缁熻鐨勬煡璇㈡潯浠�
+     * @return 璇曞嵎id銆佸悕绉般�佺被鍨�
+     */
+    List<ExamPaper> queryCondition();
 }

--
Gitblit v1.8.0