package com.hai.service;

import com.alibaba.fastjson.JSONObject;

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

/**
 * @serviceName OrderStatisticsService.java
 * @author Sum1Dream
 * @version 1.0.0
 * @Description // 订单统计接口哦
 * @createTime 10:00 2022/11/3
 **/
public interface OrderStatisticsService {

    /**
     * @Author Sum1Dream
     * @Name orderStatisticsByYMD
     * @Description // 获取订单统计年月日相关订单数据
     * @Date 16:28 2022/11/2
     * @Param [object]
     * @Return com.alibaba.fastjson.JSONObject
     */
    List<Map<String , Object>> orderStatisticsByYMD(JSONObject object);

    /**
     * @Author Sum1Dream
     * @Name orderStatisticsByProductType
     * @Description // 获取订单统计根据年月周日 产品类型相关数据
     * @Date 14:14 2022/11/3
     * @Param [object]
     * @Return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     */
    List<Map<String , Object>> orderStatisticsByProductType(JSONObject object);

}
