From d34010bcdba98d6906c3ad0959db3c650ea90239 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 06 六月 2024 11:19:42 +0800 Subject: [PATCH] feat:科目查询、新增、状态、排序、删除、修改 --- src/main/java/com/ycl/jxkg/service/QuestionService.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/QuestionService.java b/src/main/java/com/ycl/jxkg/service/QuestionService.java index ca04006..4dfcee0 100644 --- a/src/main/java/com/ycl/jxkg/service/QuestionService.java +++ b/src/main/java/com/ycl/jxkg/service/QuestionService.java @@ -5,12 +5,13 @@ import com.ycl.jxkg.domain.vo.admin.question.QuestionEditRequestVO; import com.ycl.jxkg.domain.vo.admin.question.QuestionPageRequestVO; import com.github.pagehelper.PageInfo; +import com.ycl.jxkg.domain.vo.admin.question.QuestionResponseVO; import java.util.List; public interface QuestionService extends IService<Question> { - PageInfo<Question> page(QuestionPageRequestVO requestVM); + PageInfo<QuestionResponseVO> page(QuestionPageRequestVO requestVM); Question insertFullQuestion(QuestionEditRequestVO model, Integer userId); @@ -23,4 +24,11 @@ Integer selectAllCount(); List<Integer> selectMothCount(); + + /** + * 鏇存柊棰樼洰鐘舵�� + * @param question 棰樼洰 + * @return 鏇存柊缁撴灉 + */ + Boolean updateStatus(QuestionResponseVO question); } -- Gitblit v1.8.0