From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期四, 11 三月 2021 19:10:07 +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