From 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期二, 16 三月 2021 19:57:24 +0800 Subject: [PATCH] 补充环境配置 --- src/main/java/com/ots/project/exam/mapper/QuestionMapper.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ots/project/exam/mapper/QuestionMapper.java b/src/main/java/com/ots/project/exam/mapper/QuestionMapper.java index dceadca..da694b7 100644 --- a/src/main/java/com/ots/project/exam/mapper/QuestionMapper.java +++ b/src/main/java/com/ots/project/exam/mapper/QuestionMapper.java @@ -1,21 +1,33 @@ 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); } -- Gitblit v1.9.1