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 java.util.List;
|
|
public interface ExamPaperService extends BaseService<ExamPaper> {
|
|
PageInfo<ExamPaper> page(ExamPaperPageRequestVM requestVM);
|
|
PageInfo<ExamPaper> taskExamPage(ExamPaperPageRequestVM requestVM);
|
|
PageInfo<ExamPaper> studentPage(ExamPaperPageVM requestVM);
|
|
ExamPaper savePaperFromVM(ExamPaperEditRequestVM examPaperEditRequestVM, User user) throws Exception;
|
|
ExamPaperEditRequestVO examPaperToVM(Integer id);
|
|
List<PaperInfo> indexPaper(PaperFilter paperFilter);
|
|
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);
|
}
|