linzhijie
2021-03-11 c33914ba0a98c823c4b4d7da21cdd476906c9924
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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<Question> {
    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<Question> page(QuestionPageRequestVM requestVM);
    List<Question> selectByIds(@Param("ids") List<Integer> ids);
    Integer selectAllCount();
    List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
}