From d5f80c24adbef34f8e66cedb46a72a6395134445 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 14 五月 2024 15:09:28 +0800
Subject: [PATCH] 题目练习

---
 src/main/java/com/mindskip/xzs/service/ExamPaperService.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
index f27cf77..ba50cd5 100644
--- a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
+++ b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
@@ -2,12 +2,15 @@
 
 import com.mindskip.xzs.domain.ExamPaper;
 import com.mindskip.xzs.domain.User;
+import com.mindskip.xzs.domain.vo.PaperExcelVO;
 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;
 
@@ -19,9 +22,9 @@
 
     PageInfo<ExamPaper> studentPage(ExamPaperPageVM requestVM);
 
-    ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, User user);
+    ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, User user) throws Exception;
 
-    ExamPaperEditRequestVM examPaperToVM(Integer id);
+    ExamPaperEditRequestVO examPaperToVM(Integer id);
 
     List<PaperInfo> indexPaper(PaperFilter paperFilter);
 
@@ -30,4 +33,10 @@
     List<Integer> selectMothCount();
 
     Integer removeByIds(Integer[] ids);
+
+    List<ExamPaper> gets(Integer[] ids);
+
+    List<PaperExcelVO> getPaperExcelById(Integer id);
+
+    void missExam(ExamPaperEditRequestVM model);
 }

--
Gitblit v1.8.0