From 6d05f0dc6e96ead24bb7e035e16f18031b1ede78 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 17 五月 2024 11:35:26 +0800
Subject: [PATCH] feat:看题新增查询条件

---
 src/main/java/com/mindskip/xzs/service/ExamPaperService.java |   20 ++++++++++++++++----
 1 files changed, 16 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 b815850..53094b8 100644
--- a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
+++ b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java
@@ -1,13 +1,15 @@
 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.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 java.util.List;
 
@@ -19,13 +21,23 @@
 
     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);
 
-    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);
 }

--
Gitblit v1.8.0