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

import java.util.List;
import com.bonus.canteen.core.cook.domain.CookEvaluaOrder;
import com.bonus.canteen.core.cook.dto.CookEvaluaOrderDTO;
import com.bonus.canteen.core.cook.vo.CookEvaluaOrderVo;

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

    public CookEvaluaOrderVo selectCookEvaluaOrderById(Long orderId);

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

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

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

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

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