xiangpei
2024-05-17 f4f84ef25ce94e59dfe57961fcbb3c81f738ebb8
src/main/java/com/mindskip/xzs/service/ExamPaperService.java
@@ -1,13 +1,16 @@
package com.mindskip.xzs.service;
import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.domain.vo.PaperExcelVO;
import com.mindskip.xzs.domain.vo.UserVO;
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 java.util.List;
@@ -19,15 +22,25 @@
    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);
    Integer selectAllCount();
    Integer selectAllCount(List<Integer> deptIds);
    List<Integer> selectMothCount();
    Integer removeByIds(Integer[] ids);
    List<ExamPaper> gets(Integer[] ids);
    List<PaperExcelVO> getPaperExcelById(Integer id);
    void missExam(ExamPaperEditRequestVM model);
    List<ExamPaper> list(List<Integer> deptIds);
    PageInfo<UserVO> selectStudent(UserVO userVO);
}