package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.complaintSuggestion.ComplaintSuggestion;

import java.util.List;


/**
 * 投诉建议Mapper接口
 * 
 * @author boman
 * @date 2025-02-14
 */
public interface ComplaintSuggestionMapper 
{
    /**
     * 查询投诉建议
     * 
     * @param suggestionId 投诉建议主键
     * @return 投诉建议
     */
    public ComplaintSuggestion selectComplaintSuggestionBySuggestionId(Long suggestionId);

    /**
     * 查询投诉建议列表
     * 
     * @param complaintSuggestion 投诉建议
     * @return 投诉建议集合
     */
    public List<ComplaintSuggestion> selectComplaintSuggestionList(ComplaintSuggestion complaintSuggestion);

    /**
     * 新增投诉建议
     * 
     * @param complaintSuggestion 投诉建议
     * @return 结果
     */
    public int insertComplaintSuggestion(ComplaintSuggestion complaintSuggestion);

    /**
     * 修改投诉建议
     * 
     * @param complaintSuggestion 投诉建议
     * @return 结果
     */
    public int updateComplaintSuggestion(ComplaintSuggestion complaintSuggestion);

    /**
     * 删除投诉建议
     * 
     * @param suggestionId 投诉建议主键
     * @return 结果
     */
    public int deleteComplaintSuggestionBySuggestionId(Long suggestionId);

    /**
     * 批量删除投诉建议
     * 
     * @param suggestionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteComplaintSuggestionBySuggestionIds(Long[] suggestionIds);
}
