package com.bonus.canteen.core.basic.mapper;

import java.util.List;
import com.bonus.canteen.core.basic.domain.BasicCanteenSuggestion;

/**
 * 投诉建议 Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface BasicCanteenSuggestionMapper {
    /**
     * 查询投诉建议 
     * 
     * @param suggestionId 投诉建议 主键
     * @return 投诉建议 
     */
    public BasicCanteenSuggestion selectBasicCanteenSuggestionBySuggestionId(Long suggestionId);

    /**
     * 查询投诉建议 列表
     * 
     * @param basicCanteenSuggestion 投诉建议 
     * @return 投诉建议 集合
     */
    public List<BasicCanteenSuggestion> selectBasicCanteenSuggestionList(BasicCanteenSuggestion basicCanteenSuggestion);

    /**
     * 新增投诉建议 
     * 
     * @param basicCanteenSuggestion 投诉建议 
     * @return 结果
     */
    public int insertBasicCanteenSuggestion(BasicCanteenSuggestion basicCanteenSuggestion);

    /**
     * 修改投诉建议 
     * 
     * @param basicCanteenSuggestion 投诉建议 
     * @return 结果
     */
    public int updateBasicCanteenSuggestion(BasicCanteenSuggestion basicCanteenSuggestion);

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

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