package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.ExamPaper; import com.mindskip.xzs.domain.ExamPaperAnswer; import com.mindskip.xzs.domain.ExamTemplatesUserCount; import com.mindskip.xzs.domain.ScoreTemplatesUserCount; import com.mindskip.xzs.domain.other.KeyValue; import com.mindskip.xzs.domain.vo.ScoreTemplatesCountVO; import com.mindskip.xzs.domain.vo.TeamplatesUserExcelVO; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVM; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperEditRequestVO; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradePageRequestVM; import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery; import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; @Mapper public interface ExamPaperAnswerMapper extends BaseMapper { List studentPage(ExamPaperAnswerPageVM requestVM); Integer selectAllCount(); List selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); ExamPaperAnswer getByPidUid(@Param("pid") Integer paperId, @Param("uid") Integer uid); List adminPage(com.mindskip.xzs.viewmodel.admin.paper.ExamPaperAnswerPageRequestVM requestVM); ExamPaperAnswer getById(Integer id); List selectByPaperName(@Param("paperName") String paperName); List getByExamPaperIdAndUserId(@Param("examTemplatesUserCount")List examTemplatesUserCount); List adminPageByGrade(ExamPaperGradePageRequestVM grade); List getByScorePaperIdAndUserId(@Param("scoreTemplatesUserCounts")List scoreTemplatesUserCounts); List getByCreatUser(@Param("query") ExamPaperGradeQuery query); List getByExamPaperIds(@Param("ids")List ids); List getResult(@Param("list")List list); List getByTimeOne(); void setMissExam(ExamPaperEditRequestVM model); void insertDefault(ExamPaperEditRequestVM model); }