xiangpei
2024-05-11 d470757bba19143fd3fc441365fcbb2362dfd0f0
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
29
30
package com.mindskip.xzs.repository;
 
import com.mindskip.xzs.domain.other.KeyValue;
import com.mindskip.xzs.domain.Question;
import com.mindskip.xzs.domain.vo.QuestionVO;
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);
    List<QuestionVO> getVoByIds(@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);
}