xiangpei
2024-03-29 dcaea52b2c0778ec4f929f60752cc6baf37b5a50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.mindskip.xzs.repository;
 
import com.mindskip.xzs.domain.other.KeyValue;
import com.mindskip.xzs.domain.Question;
import com.mindskip.xzs.viewmodel.admin.question.QuestionPageRequestVM;
import com.mindskip.xzs.vo.QuestionExportVO;
import com.mindskip.xzs.vo.QuestionImportVO;
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 BaseMapper<Question> {
 
    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);
 
    List<Question> getAll();
 
    List<QuestionImportVO> export(@Param("query") QuestionExportVO query);
}