package com.ots.project.exam.mapper; import com.ots.project.exam.domain.ExamPaper; import com.ots.project.exam.domain.TExamPaper; import com.ots.project.exam.dto.KeyValue; import com.ots.project.exam.dto.PaperFilter; import com.ots.project.exam.dto.PaperInfo; import com.ots.project.exam.viewmodel.ExamPaperPageRequestVM; import com.ots.project.exam.viewmodel.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 BaseExamMapper { int deleteByPrimaryKey(Integer id); int insert(ExamPaper record); int insertSelective(ExamPaper record); ExamPaper selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(ExamPaper record); int updateByPrimaryKey(ExamPaper record); List page(ExamPaperPageRequestVM requestVM); List taskExamPage(ExamPaperPageRequestVM requestVM); List studentPage(ExamPaperPageVM requestVM); List indexPaper(PaperFilter paperFilter); Integer selectAllCount(); 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); }