Blame view

AnsweringQuestionService.java 1.03 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.question.QueryQuestionsDTO;
import com.meishu.model.AnsweringQuestionDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.model.UserSubjectPermissionDictDO;
import com.meishu.vo.question.GetClassQuestionsVO;
import com.meishu.vo.question.QueryOneQuestionVO;

import java.util.List;

/**
 * <p>
 * 问题答疑表 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-09-28
 */
public interface AnsweringQuestionService extends IService<AnsweringQuestionDO> {

    IPage queryQuestions(QueryQuestionsDTO queryQuestionsDTO);

    String deleteQuestion(AnsweringQuestionDO answeringQuestionDO);

    QueryOneQuestionVO queryOneQuestion(AnsweringQuestionDO answeringQuestionDO);

    List<GetClassQuestionsVO> getClassQuestions(UserSubjectPermissionDictDO userSubjectPermissionDictDO);

    String  addQuestion(AnsweringQuestionDO answeringQuestionDO);

    String answerQuestion(AnsweringQuestionDO answeringQuestionDO);
}