using Nirvana.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Waste.Application
{
    /// <summary>
    /// 统计信息
    /// </summary>
    public interface IReportService
    {
        /// <summary>
        /// 统计列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<PageParms<ReportList>> GetListAsync(QueryParams param);
        /// <summary>
        /// 根据商户和垃圾类型进行汇总
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<PageParms<ReportList>> GetListByBusinessAsync(QueryParams param);
        /// <summary>
        /// 获取一定时间段内的统计数据,第三方接口对接使用
        /// </summary>
        /// <param name="param"></param>
        /// <param name="appid">第三方授权的appid</param>
        /// <returns></returns>
        Task<ResultInfo> GetDataAsync(ApiReportRequestData param,string appid);
    }
}
