package com.ots.project.exam.mapper; import com.ots.project.exam.domain.Question; import com.ots.project.exam.dto.KeyValue; import com.ots.project.exam.viewmodel.QuestionPageRequestVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; @Mapper public interface QuestionMapper extends BaseExamMapper { int deleteByPrimaryKey(Integer id); int insert(Question record); int insertSelective(Question record); Question selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(Question record); int updateByPrimaryKey(Question record); List page(QuestionPageRequestVM requestVM); List selectByIds(@Param("ids") List ids); Integer selectAllCount(); List selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); }