From 21a9aa320b3eeb072bcd7d3fa883587d57b6ccbb Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 31 五月 2024 14:52:33 +0800 Subject: [PATCH] 日志指定表名,试卷实体类修改 --- src/main/java/com/ycl/jxkg/service/ExamPaperService.java | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java index e5e7158..743bf88 100644 --- a/src/main/java/com/ycl/jxkg/service/ExamPaperService.java +++ b/src/main/java/com/ycl/jxkg/service/ExamPaperService.java @@ -1,27 +1,28 @@ 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.viewmodel.admin.exam.ExamPaperEditRequestVM; -import com.ycl.jxkg.viewmodel.admin.exam.ExamPaperPageRequestVM; -import com.ycl.jxkg.viewmodel.student.dashboard.PaperFilter; -import com.ycl.jxkg.viewmodel.student.dashboard.PaperInfo; -import com.ycl.jxkg.viewmodel.student.exam.ExamPaperPageVM; +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.github.pagehelper.PageInfo; import java.util.List; -public interface ExamPaperService extends BaseService<ExamPaper> { +public interface ExamPaperService extends IService<ExamPaper> { - PageInfo<ExamPaper> page(ExamPaperPageRequestVM requestVM); + PageInfo<ExamPaper> page(ExamPaperPageRequestVO requestVM); - PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVM requestVM); + PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVO requestVM); - PageInfo<ExamPaper> studentPage(ExamPaperPageVM requestVM); + PageInfo<ExamPaper> studentPage(ExamPaperPageVO requestVM); - ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, User user); + ExamPaper savePaperFromVM(ExamPaperEditRequestVO examPaperEditRequestVO, User user); - ExamPaperEditRequestVM examPaperToVM(Integer id); + ExamPaperEditRequestVO examPaperToVM(Integer id); List<PaperInfo> indexPaper(PaperFilter paperFilter); -- Gitblit v1.8.0