From d0ba0324430a0010ecf47e5cc0e4df609d586cfd Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 19 六月 2024 11:31:00 +0800
Subject: [PATCH] 会议学生端查询
---
src/main/java/com/ycl/jxkg/service/ExamPaperService.java | 36 ++++++++++++++++++++++++++----------
1 files changed, 26 insertions(+), 10 deletions(-)
diff --git a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
index 743bf88..6e19f57 100644
--- a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
+++ b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java
@@ -1,26 +1,29 @@
package com.ycl.jxkg.service;
import com.baomidou.mybatisplus.extension.service.IService;
-import com.ycl.jxkg.domain.ExamPaper;
-import com.ycl.jxkg.domain.User;
-import com.ycl.jxkg.vo.admin.exam.ExamPaperEditRequestVO;
-import com.ycl.jxkg.vo.admin.exam.ExamPaperPageRequestVO;
-import com.ycl.jxkg.vo.student.dashboard.PaperFilter;
-import com.ycl.jxkg.vo.student.dashboard.PaperInfo;
-import com.ycl.jxkg.vo.student.exam.ExamPaperPageVO;
+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;
import com.github.pagehelper.PageInfo;
import java.util.List;
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);
@@ -29,4 +32,17 @@
Integer selectAllCount();
List<Integer> selectMothCount();
+
+ /**
+ *
+ * 鎴戠殑璇曞嵎
+ *
+ * @param paperType
+ * @return
+ */
+ List<ExamPaper> myExamPaper(Integer paperType);
+
+ Result addPaper(ExamPaperForm form);
+
+ Result updateExamPaper(ExamPaperForm form);
}
--
Gitblit v1.8.0