龚焕茏
2024-05-13 489eebe584a8d991f844ff4c703779c7b5d0af5e
src/main/java/com/mindskip/xzs/repository/QuestionMapper.java
@@ -1,8 +1,13 @@
package com.mindskip.xzs.repository;
import com.mindskip.xzs.domain.other.KeyValue;
import com.mindskip.xzs.domain.Question;
import com.mindskip.xzs.domain.other.KeyValue;
import com.mindskip.xzs.domain.vo.QuestionVO;
import com.mindskip.xzs.viewmodel.admin.question.QuestionPageRequestVM;
import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentRequestVM;
import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentResponseVM;
import com.mindskip.xzs.vo.QuestionExportVO;
import com.mindskip.xzs.vo.QuestionImportVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -15,8 +20,15 @@
    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);
    List<QuestionPageStudentResponseVM> selectQuestion(QuestionPageStudentRequestVM model);
}