fuliqi
2024-05-31 21a9aa320b3eeb072bcd7d3fa883587d57b6ccbb
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);