From f70b376cd2b9a1d7f29b81b30231d30dd55351ad Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 13 六月 2024 09:21:25 +0800 Subject: [PATCH] 删除examTemplate --- src/main/java/com/ycl/jxkg/service/ExamPaperService.java | 21 ++++++++++++++++++--- 1 files changed, 18 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 d8ee7dd..5accef0 100644 --- a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java +++ b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java @@ -3,8 +3,10 @@ import com.baomidou.mybatisplus.extension.service.IService; 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 +16,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); @@ -29,4 +31,17 @@ Integer selectAllCount(); List<Integer> selectMothCount(); + + /** + * + * 鎴戠殑璇曞嵎 + * + * @param paperType + * @return + */ + List<ExamPaper> myExamPaper(Integer paperType); + + void addPaper(ExamPaperForm form); + + void updateExamPaper(ExamPaperForm form); } -- Gitblit v1.8.0