From 9a7ee496344f044c89deddb70600b7e4d6017e1f Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 09 七月 2024 17:37:16 +0800 Subject: [PATCH] 密码强制修改实现 --- src/main/java/com/ycl/jxkg/service/QuestionService.java | 29 ++++++++++++++++++++++++----- 1 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/QuestionService.java b/src/main/java/com/ycl/jxkg/service/QuestionService.java index eb4413d..08822d8 100644 --- a/src/main/java/com/ycl/jxkg/service/QuestionService.java +++ b/src/main/java/com/ycl/jxkg/service/QuestionService.java @@ -1,15 +1,19 @@ package com.ycl.jxkg.service; -import com.ycl.jxkg.domain.Question; -import com.ycl.jxkg.vo.admin.question.QuestionEditRequestVO; -import com.ycl.jxkg.vo.admin.question.QuestionPageRequestVO; +import com.baomidou.mybatisplus.extension.service.IService; import com.github.pagehelper.PageInfo; +import com.ycl.jxkg.domain.entity.Question; +import com.ycl.jxkg.domain.vo.admin.exam.QuestionExportVO; +import com.ycl.jxkg.domain.vo.admin.exam.QuestionImportVO; +import com.ycl.jxkg.domain.vo.admin.question.QuestionEditRequestVO; +import com.ycl.jxkg.domain.vo.admin.question.QuestionPageRequestVO; +import com.ycl.jxkg.domain.vo.admin.question.QuestionResponseVO; import java.util.List; -public interface QuestionService extends BaseService<Question> { +public interface QuestionService extends IService<Question> { - PageInfo<Question> page(QuestionPageRequestVO requestVM); + PageInfo<QuestionResponseVO> page(QuestionPageRequestVO requestVM); Question insertFullQuestion(QuestionEditRequestVO model, Integer userId); @@ -22,4 +26,19 @@ Integer selectAllCount(); List<Integer> selectMothCount(); + + /** + * 鏇存柊棰樼洰鐘舵�� + * @param question 棰樼洰 + * @return 鏇存柊缁撴灉 + */ + Boolean updateStatus(QuestionResponseVO question); + + /** + * 棰樼洰瀵煎嚭鏁版嵁 + * @param query 鏌ヨ鏉′欢 + * @return 棰樼洰 + */ + List<QuestionImportVO> export(QuestionExportVO query); + } -- Gitblit v1.8.0