package com.mindskip.xzs.service; import com.mindskip.xzs.domain.Question; import com.mindskip.xzs.viewmodel.admin.question.ExamQuestionVO; import com.mindskip.xzs.viewmodel.admin.question.QuestionEditRequestVM; import com.mindskip.xzs.viewmodel.admin.question.QuestionPageRequestVM; import com.github.pagehelper.PageInfo; import com.mindskip.xzs.vo.QuestionExportVO; import com.mindskip.xzs.vo.QuestionImportVO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface QuestionService extends BaseService { PageInfo page(QuestionPageRequestVM requestVM); Question insertFullQuestion(QuestionEditRequestVM model, Integer userId); Question updateFullQuestion(QuestionEditRequestVM model); ExamQuestionVO getQuestionEditRequestVM(Integer questionId); ExamQuestionVO getQuestionEditRequestVM(Question question); Integer selectAllCount(); List selectMothCount(); Integer remove(Integer id); List getAll(); List selectByIds(@Param("ids") List ids); /** * 题目导出数据 * @param query * @return */ List export(QuestionExportVO query); }