package com.bizzan.bitrade.service;

import com.bizzan.bitrade.entity.OrderDetailAggregation;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单手续费聚合统计 Service
 */
@Service
public class OrderDetailAggregationService {

    /**
     * 按时间段统计手续费
     */
    public List<OrderDetailAggregation> queryStatistics(long start, long end) {
        return new ArrayList<>();
    }

    /**
     * 按时间段和币种统计手续费
     */
    public List<OrderDetailAggregation> queryStatisticsByUnit(long start, long end, String unit) {
        return new ArrayList<>();
    }
}
