package com.willalp.canteen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.willalp.canteen.domain.HsGiftOrder;

import java.util.List;

/**
 * 食堂订单Mapper接口
 *
 * @author songyu
 * @date 2021-12-03
 */
public interface HsGiftOrderMapper extends BaseMapper<HsGiftOrder>
{
    /**
     * 查询食堂订单列表
     *
     * @param hsGiftOrder 食堂订单
     * @return 食堂订单集合
     */
    public List<HsGiftOrder> selectHsCanteenOrderList(HsGiftOrder hsGiftOrder);

    /**
     * 首页金额总额
     * @param hsGiftOrder
     * @return
     */
    public String getSumpay(HsGiftOrder hsGiftOrder);

    /**
     * 近一月订单量
     * @param hsGiftOrder
     * @return
     */
    List<HsGiftOrder> selectHsCanteenOrderLists(HsGiftOrder hsGiftOrder);

    /**
     * 首页订单总数
     * @param hsGiftOrder
     * @return
     */
    String getSumOrderNum(HsGiftOrder hsGiftOrder);

}
