From 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期二, 16 三月 2021 19:57:24 +0800 Subject: [PATCH] 补充环境配置 --- src/main/java/com/ots/project/exam/service/QuestionService.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ots/project/exam/service/QuestionService.java b/src/main/java/com/ots/project/exam/service/QuestionService.java index f6e873d..bf7dfff 100644 --- a/src/main/java/com/ots/project/exam/service/QuestionService.java +++ b/src/main/java/com/ots/project/exam/service/QuestionService.java @@ -1,15 +1,25 @@ 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(); } -- Gitblit v1.9.1