package com.ruoyi.order.service;

import java.util.List;
import com.ruoyi.order.domain.TCanteenOrderDetail;

/**
 * 订单明细Service接口
 * 
 * @author ruoyi
 * @date 2025-04-22
 */
public interface ITCanteenOrderDetailService 
{
    /**
     * 查询订单明细
     * 
     * @param detailId 订单明细主键
     * @return 订单明细
     */
    public TCanteenOrderDetail selectTCanteenOrderDetailByDetailId(Long detailId);

    /**
     * 查询订单明细列表
     * 
     * @param tCanteenOrderDetail 订单明细
     * @return 订单明细集合
     */
    public List<TCanteenOrderDetail> selectTCanteenOrderDetailList(TCanteenOrderDetail tCanteenOrderDetail);

    /**
     * 新增订单明细
     * 
     * @param tCanteenOrderDetail 订单明细
     * @return 结果
     */
    public int insertTCanteenOrderDetail(TCanteenOrderDetail tCanteenOrderDetail);

    /**
     * 修改订单明细
     * 
     * @param tCanteenOrderDetail 订单明细
     * @return 结果
     */
    public int updateTCanteenOrderDetail(TCanteenOrderDetail tCanteenOrderDetail);

    /**
     * 批量删除订单明细
     * 
     * @param detailIds 需要删除的订单明细主键集合
     * @return 结果
     */
    public int deleteTCanteenOrderDetailByDetailIds(Long[] detailIds);

    /**
     * 删除订单明细信息
     * 
     * @param detailId 订单明细主键
     * @return 结果
     */
    public int deleteTCanteenOrderDetailByDetailId(Long detailId);
}
