package com.willalp.canteen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.canteen.domain.HsGiftOrderDetail;
import com.willalp.canteen.domain.resp.OrderResp;

import java.util.List;

/**
 * 食堂订单明细Service接口
 *
 * @author songyu
 * @date 2021-12-03
 */
public interface IHsGiftOrderDetailService extends IService<HsGiftOrderDetail>
{

    /**
     * 查询食堂订单明细列表
     *
     * @param hsGiftOrderDetail 食堂订单明细
     * @return 食堂订单明细集合
     */
    public List<OrderResp> selectHsCanteenOrderDetailList(HsGiftOrderDetail hsGiftOrderDetail);


    /**
     * 统计订购数量
     *
     * @param eventId
     * @return
     */
    List<HsGiftOrderDetail> shopOrderStatList(String eventId);
}
