AnsweringQuestionService.java
1.03 KB
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);
}