package com.ots.project.exam.mapper; import com.ots.project.exam.domain.ExamPaperQuestionCustomerAnswer; import com.ots.project.exam.dto.ExamPaperAnswerUpdate; import com.ots.project.exam.dto.KeyValue; import com.ots.project.exam.viewmodel.QuestionPageStudentRequestVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; @Mapper public interface ExamPaperQuestionCustomerAnswerMapper extends BaseMapper { int deleteByPrimaryKey(Integer id); int insert(ExamPaperQuestionCustomerAnswer record); int insertSelective(ExamPaperQuestionCustomerAnswer record); ExamPaperQuestionCustomerAnswer selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(ExamPaperQuestionCustomerAnswer record); int updateByPrimaryKey(ExamPaperQuestionCustomerAnswer record); List selectListByPaperAnswerId(Integer id); List studentPage(QuestionPageStudentRequestVM requestVM); int insertList(List list); Integer selectAllCount(); List selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); int updateScore(List examPaperAnswerUpdates); }