package cn.pluss.platform.questionsAnswers;

import java.util.List;
import java.util.Map;
import cn.pluss.platform.entity.QuestionsAnswers;
import com.baomidou.mybatisplus.extension.service.IService;

public interface QuestionsAnswersService extends IService<QuestionsAnswers> {

    public QuestionsAnswers queryQuestionsAnswers(QuestionsAnswers questionsAnswers);

    public List<QuestionsAnswers> queryQuestionsAnswersList(QuestionsAnswers questionsAnswers);

    public void saveQuestionsAnswers(QuestionsAnswers questionsAnswers);

    public void updateQuestionsAnswers(QuestionsAnswers questionsAnswers);

    public void deleteQuestionsAnswers(QuestionsAnswers questionsAnswers);

    public List<QuestionsAnswers> queryQuestionsAnswersPage(Map map);
    
    public List<QuestionsAnswers> queryQuestionsAnswersOrderByIDPage(Map map);

    public Integer queryQuestionsAnswersPageCount(Map map);

    public void saveQuestionsAnswersBatch(List<QuestionsAnswers> questionsAnswersList);
}

