From c46f49af9e766aed0ba583fce0efab98ebcdf76c Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 18 六月 2024 17:12:06 +0800
Subject: [PATCH] 管理员增加学生端权限

---
 src/main/java/com/ycl/jxkg/service/ExamPaperService.java |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
index 4ab31a0..6e19f57 100644
--- a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
+++ b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
@@ -1,10 +1,13 @@
 package com.ycl.jxkg.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
+import com.ycl.jxkg.base.Result;
 import com.ycl.jxkg.domain.entity.ExamPaper;
 import com.ycl.jxkg.domain.entity.User;
+import com.ycl.jxkg.domain.form.ExamPaperForm;
 import com.ycl.jxkg.domain.vo.admin.exam.ExamPaperEditRequestVO;
 import com.ycl.jxkg.domain.vo.admin.exam.ExamPaperPageRequestVO;
+import com.ycl.jxkg.domain.vo.admin.exam.ExamResponseVO;
 import com.ycl.jxkg.domain.vo.student.dashboard.PaperFilter;
 import com.ycl.jxkg.domain.vo.student.dashboard.PaperInfo;
 import com.ycl.jxkg.domain.vo.student.exam.ExamPaperPageVO;
@@ -14,13 +17,13 @@
 
 public interface ExamPaperService extends IService<ExamPaper> {
 
-    PageInfo<ExamPaper> page(ExamPaperPageRequestVO requestVM);
+    PageInfo<ExamResponseVO> page(ExamPaperPageRequestVO requestVM);
 
-    PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVO requestVM);
+//    PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVO requestVM);
 
     PageInfo<ExamPaper> studentPage(ExamPaperPageVO requestVM);
 
-    ExamPaper savePaperFromVM(ExamPaperEditRequestVO examPaperEditRequestVO, User user);
+//    ExamPaper savePaperFromVM(ExamPaperEditRequestVO examPaperEditRequestVO, User user);
 
     ExamPaperEditRequestVO examPaperToVM(Integer id);
 
@@ -38,4 +41,8 @@
      * @return
      */
     List<ExamPaper> myExamPaper(Integer paperType);
+
+    Result addPaper(ExamPaperForm form);
+
+    Result updateExamPaper(ExamPaperForm form);
 }

--
Gitblit v1.8.0