linzhijie
2021-04-12 3a8e1524dcf0eeb610d38123d5f0a3ef838379cd
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.ExamPaperAnswer;
import com.ots.project.exam.dto.KeyValue;
import com.ots.project.exam.viewmodel.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<ExamPaperAnswer> {
    int deleteByPrimaryKey(Integer id);
    int insert(ExamPaperAnswer record);
    int insertSelective(ExamPaperAnswer record);
    ExamPaperAnswer selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(ExamPaperAnswer record);
    int updateByPrimaryKey(ExamPaperAnswer record);
    List<ExamPaperAnswer> studentPage(ExamPaperAnswerPageVM requestVM);
    Integer selectAllCount();
    List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
    ExamPaperAnswer getByPidUid(@Param("pid") Integer paperId, @Param("uid") Integer uid);
}