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

import java.util.List;
import com.bonus.canteen.core.cook.domain.CookEvaluaDetail;

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

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

    /**
     * 新增订单评价菜品
     * 
     * @param cookEvaluaDetail 订单评价菜品
     * @return 结果
     */
    public int insertCookEvaluaDetail(CookEvaluaDetail cookEvaluaDetail);

    /**
     * 修改订单评价菜品
     * 
     * @param cookEvaluaDetail 订单评价菜品
     * @return 结果
     */
    public int updateCookEvaluaDetail(CookEvaluaDetail cookEvaluaDetail);

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

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