package com.bonus.canteen.core.menu.service;

import java.util.List;
import com.bonus.canteen.core.menu.domain.MenuEvaluaDetail;

/**
 * 订单评价菜品Service接口
 * 
 * @author xsheng
 * @date 2025-04-20
 */
public interface IMenuEvaluaDetailService {
    /**
     * 查询订单评价菜品
     * 
     * @param id 订单评价菜品主键
     * @return 订单评价菜品
     */
    public MenuEvaluaDetail selectMenuEvaluaDetailById(Long id);

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

    /**
     * 新增订单评价菜品
     * 
     * @param menuEvaluaDetail 订单评价菜品
     * @return 结果
     */
    public int insertMenuEvaluaDetail(MenuEvaluaDetail menuEvaluaDetail);

    /**
     * 修改订单评价菜品
     * 
     * @param menuEvaluaDetail 订单评价菜品
     * @return 结果
     */
    public int updateMenuEvaluaDetail(MenuEvaluaDetail menuEvaluaDetail);

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

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