From eda55530e64d87f6c642ce4596dc288a49f258cc Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 03 七月 2024 18:39:12 +0800 Subject: [PATCH] 学生考试分页增加提交状态,登录学生信息返回 --- src/main/java/com/ycl/jxkg/service/ExamPaperService.java | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java index caa6368..6e19f57 100644 --- a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java +++ b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java @@ -1,6 +1,7 @@ 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; @@ -18,11 +19,11 @@ 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); @@ -32,7 +33,16 @@ List<Integer> selectMothCount(); - void addPaper(ExamPaperForm form); + /** + * + * 鎴戠殑璇曞嵎 + * + * @param paperType + * @return + */ + List<ExamPaper> myExamPaper(Integer paperType); - void updateExamPaper(ExamPaperForm form); + Result addPaper(ExamPaperForm form); + + Result updateExamPaper(ExamPaperForm form); } -- Gitblit v1.8.0