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

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

/**
 * 订单评价Mapper接口
 * 
 * @author xsheng
 * @date 2025-05-25
 */
public interface CookEvaluaOrderMapper {
    /**
     * 查询订单评价
     * 
     * @param evaluaId 订单评价主键
     * @return 订单评价
     */
    public CookEvaluaOrder selectCookEvaluaOrderByEvaluaId(Long evaluaId);

    /**
     * 查询订单评价列表
     * 
     * @param cookEvaluaOrder 订单评价
     * @return 订单评价集合
     */
    public List<CookEvaluaOrder> selectCookEvaluaOrderList(CookEvaluaOrder cookEvaluaOrder);

    /**
     * 新增订单评价
     * 
     * @param cookEvaluaOrder 订单评价
     * @return 结果
     */
    public int insertCookEvaluaOrder(CookEvaluaOrder cookEvaluaOrder);

    /**
     * 修改订单评价
     * 
     * @param cookEvaluaOrder 订单评价
     * @return 结果
     */
    public int updateCookEvaluaOrder(CookEvaluaOrder cookEvaluaOrder);

    /**
     * 删除订单评价
     * 
     * @param evaluaId 订单评价主键
     * @return 结果
     */
    public int deleteCookEvaluaOrderByEvaluaId(Long evaluaId);

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