package com.xxfc.platform.order.mapper;

import com.xxfc.platform.order.entity.DailyMembersOrderStatistics;
import com.xxfc.platform.order.entity.MembersOrder;
import com.xxfc.platform.order.entity.OrderStatistics;
import com.xxfc.platform.order.pojo.OrderQuery;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 每日会员订单统计mapper
 * @author Administrator
 */
public interface DailyMembersOrderStatisticsMapper extends Mapper<DailyMembersOrderStatistics> {

    Map<String, Object> getTravelGmv(@Param("day") Integer day);

    OrderStatistics monthOrderTotal(@Param("companyId") Integer companyId);



    List<MembersOrder> getMemberOrderStatistics(OrderQuery query);
}
