package com.xinelu.manage.service.questionsubjectoption;

import com.xinelu.manage.domain.questionsubjectoption.QuestionSubjectOption;

import java.util.List;


/**
 * 问卷题目选项答案Service接口
 *
 * @author xinelu
 * @date 2024-02-29
 */
public interface IQuestionSubjectOptionService {
    /**
     * 查询问卷题目选项答案
     *
     * @param id 问卷题目选项答案主键
     * @return 问卷题目选项答案
     */
    QuestionSubjectOption selectQuestionSubjectOptionById(Long id);

    /**
     * 查询问卷题目选项答案列表
     *
     * @param questionSubjectOption 问卷题目选项答案
     * @return 问卷题目选项答案集合
     */
    List<QuestionSubjectOption> selectQuestionSubjectOptionList(QuestionSubjectOption questionSubjectOption);

    /**
     * 新增问卷题目选项答案
     *
     * @param questionSubjectOption 问卷题目选项答案
     * @return 结果
     */
    int insertQuestionSubjectOption(QuestionSubjectOption questionSubjectOption);

    /**
     * 修改问卷题目选项答案
     *
     * @param questionSubjectOption 问卷题目选项答案
     * @return 结果
     */
    int updateQuestionSubjectOption(QuestionSubjectOption questionSubjectOption);

    /**
     * 批量删除问卷题目选项答案
     *
     * @param ids 需要删除的问卷题目选项答案主键集合
     * @return 结果
     */
    int deleteQuestionSubjectOptionByIds(Long[] ids);

    /**
     * 删除问卷题目选项答案信息
     *
     * @param id 问卷题目选项答案主键
     * @return 结果
     */
    int deleteQuestionSubjectOptionById(Long id);
}
