| | |
| | | package com.ots.project.exam.service; |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.ots.project.exam.domain.Question; |
| | | import com.ots.project.exam.viewmodel.QuestionEditRequestVM; |
| | | import com.ots.project.exam.viewmodel.QuestionPageRequestVM; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface QuestionService extends IBaseExamService<Question> { |
| | | |
| | | PageInfo<Question> page(QuestionPageRequestVM requestVM); |
| | | |
| | | Question insertFullQuestion(QuestionEditRequestVM model, Integer userId); |
| | | |
| | | Question updateFullQuestion(QuestionEditRequestVM model); |
| | | |
| | | QuestionEditRequestVM getQuestionEditRequestVM(Integer questionId); |
| | | |
| | | QuestionEditRequestVM getQuestionEditRequestVM(Question question); |
| | | |
| | | Integer selectAllCount(); |
| | | |
| | | List<Integer> selectMothCount(); |
| | | } |