package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.BusinessQuestion;
import com.ruoyi.mall.domain.Vo.BusinessQuestionVo;

/**
 * 助手问题Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public interface BusinessQuestionMapper 
{
    /**
     * 查询助手问题
     * 
     * @param questionId 助手问题主键
     * @return 助手问题
     */
    public BusinessQuestionVo selectBusinessQuestionByQuestionId(Long questionId);

    /**
     * 查询助手问题列表
     * 
     * @param businessQuestion 助手问题
     * @return 助手问题集合
     */
    public List<BusinessQuestionVo> selectBusinessQuestionList(BusinessQuestion businessQuestion);

    /**
     * 新增助手问题
     * 
     * @param businessQuestion 助手问题
     * @return 结果
     */
    public int insertBusinessQuestion(BusinessQuestion businessQuestion);

    /**
     * 修改助手问题
     * 
     * @param businessQuestion 助手问题
     * @return 结果
     */
    public int updateBusinessQuestion(BusinessQuestion businessQuestion);

    /**
     * 删除助手问题
     * 
     * @param questionId 助手问题主键
     * @return 结果
     */
    public int deleteBusinessQuestionByQuestionId(Long questionId);

    /**
     * 批量删除助手问题
     * 
     * @param questionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessQuestionByQuestionIds(Long[] questionIds);
}
