From f2123ad78adc82f6a3e69a5603b6c0b110025236 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 10 五月 2024 12:00:37 +0800 Subject: [PATCH] refactor:缺考新需求,移除延时保存补考用户功能 --- src/main/java/com/mindskip/xzs/service/ExamPaperService.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java index f27cf77..015aa52 100644 --- a/src/main/java/com/mindskip/xzs/service/ExamPaperService.java +++ b/src/main/java/com/mindskip/xzs/service/ExamPaperService.java @@ -2,12 +2,15 @@ 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 org.apache.ibatis.annotations.Param; import java.util.List; @@ -19,9 +22,9 @@ 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); @@ -30,4 +33,9 @@ List<Integer> selectMothCount(); Integer removeByIds(Integer[] ids); + + List<ExamPaper> gets(Integer[] ids); + + List<PaperExcelVO> getPaperExcelById(Integer id); + } -- Gitblit v1.8.0