xiangpei
2024-05-11 ccca8c65b3c76a9021a471a3667d61d965a4f2cb
src/main/java/com/mindskip/xzs/repository/QuestionMapper.java
@@ -2,7 +2,10 @@
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;
@@ -15,8 +18,13 @@
    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);
}