| | |
| | | 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.ExamTemplatesVO; |
| | | 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 org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | 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(); |
| | | |
| | |
| | | |
| | | List<ExamPaper> gets(Integer[] ids); |
| | | |
| | | /** |
| | | * 普通试卷答题记录 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<PaperExcelVO> getPaperExcelById(Integer id); |
| | | |
| | | /** |
| | | * 随机试卷答题记录 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<PaperExcelVO> getRandomPaperExcelById(Integer id); |
| | | |
| | | void missExam(ExamPaperEditRequestVM model); |
| | | |
| | | List<ExamPaper> list(List<Integer> deptIds); |
| | | |
| | | /** |
| | | * 获取部门的学生 |
| | | * |
| | | * @param userVO |
| | | * @param adminDeptIds |
| | | * @return |
| | | */ |
| | | PageInfo<UserVO> selectStudent(UserVO userVO, List<Integer> adminDeptIds); |
| | | |
| | | void missExamByTemplateId(ExamTemplatesVO model); |
| | | |
| | | /** |
| | | * 考试统计的查询条件 |
| | | * @return 试卷id、名称、类型 |
| | | */ |
| | | List<ExamPaper> queryCondition(); |
| | | } |