From c2dc62c3d40be033cdb65fa54473f7f355e67e88 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 06 六月 2024 15:52:02 +0800 Subject: [PATCH] 班级学员新增、修改 --- src/main/java/com/ycl/jxkg/service/ExamPaperService.java | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 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..d8ee7dd 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.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.baomidou.mybatisplus.extension.service.IService; +import com.ycl.jxkg.domain.entity.ExamPaper; +import com.ycl.jxkg.domain.entity.User; +import com.ycl.jxkg.domain.vo.admin.exam.ExamPaperEditRequestVO; +import com.ycl.jxkg.domain.vo.admin.exam.ExamPaperPageRequestVO; +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 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