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

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

/**
 * 订单评价菜品Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface BasicCanteenSuggestionPictureMapper {
    /**
     * 查询订单评价菜品
     * 
     * @param id 订单评价菜品主键
     * @return 订单评价菜品
     */
    public BasicCanteenSuggestionPicture selectBasicCanteenSuggestionPictureById(Long id);

    public List<BasicCanteenSuggestionPicture> selectBasicCanteenSuggestionPictureBySuggestionId(Long suggestionId);

    /**
     * 查询订单评价菜品列表
     * 
     * @param basicCanteenSuggestionPicture 订单评价菜品
     * @return 订单评价菜品集合
     */
    public List<BasicCanteenSuggestionPicture> selectBasicCanteenSuggestionPictureList(BasicCanteenSuggestionPicture basicCanteenSuggestionPicture);

    /**
     * 新增订单评价菜品
     * 
     * @param basicCanteenSuggestionPicture 订单评价菜品
     * @return 结果
     */
    public int insertBasicCanteenSuggestionPicture(BasicCanteenSuggestionPicture basicCanteenSuggestionPicture);

    /**
     * 修改订单评价菜品
     * 
     * @param basicCanteenSuggestionPicture 订单评价菜品
     * @return 结果
     */
    public int updateBasicCanteenSuggestionPicture(BasicCanteenSuggestionPicture basicCanteenSuggestionPicture);

    /**
     * 删除订单评价菜品
     * 
     * @param id 订单评价菜品主键
     * @return 结果
     */
    public int deleteBasicCanteenSuggestionPictureById(Long id);

    /**
     * 批量删除订单评价菜品
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasicCanteenSuggestionPictureByIds(Long[] ids);
}
