package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.ExamPaper; import com.mindskip.xzs.domain.other.KeyValue; 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.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 org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; @Mapper public interface ExamPaperMapper extends BaseMapper { List page(ExamPaperPageRequestVM requestVM); List taskExamPage(ExamPaperPageRequestVM requestVM); List studentPage(ExamPaperPageVM requestVM); List indexPaper(PaperFilter paperFilter); Integer selectAllCount(List deptIds); List selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); int updateTaskPaper(@Param("taskId") Integer taskId,@Param("paperIds") List paperIds); int clearTaskPaper(@Param("paperIds") List paperIds); Integer removeByIds(@Param("ids") Integer[] ids); List gets(@Param("ids") Integer[] ids); List getPaperExcelById(@Param("id") Integer id); List list(List deptIds); List template(List deptIds); List selectStudent(UserVO userVO); List getExamPaperByTemplateId(ExamTemplatesVO model); List getExamPaper(); List getTemplate(); }