using MadRunFabric.Common;
using MadRunFabric.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace DistributionApi.IRepositories
{
    public interface IDistributionAppChartRepository : IRepository<Pro_Project_Info, string>
    {
        /// <summary>
        /// 员工运送工作量 - 统计报表
        /// </summary>
        /// <param name="projectid">项目id</param>
        /// <param name="usercode">用户code</param>
        /// <param name="stime">开始时间</param>
        /// <param name="etime">结束时间</param>
        /// <param name="userinfo">用户项目及相关信息</param>
        /// <returns></returns>
        object GetWorkOrderCount(string projectid, string stime, string etime, UserAccountInfoModel userinfo);

        #region 公示系统
        /// <summary>
        /// 各科室下单数量 - 统计报表
        /// </summary>
        /// <param name="projectid">项目id</param>
        /// <param name="usercode">用户code</param>
        /// <param name="stime">开始时间</param>
        /// <param name="etime">结束时间</param>
        /// <param name="userinfo">用户项目及相关信息</param>
        /// <returns></returns>
        object GetDepartmentWOCount(string projectid, string stime, string etime, UserAccountInfoModel userinfo);
        
        /// <summary>
        /// 各科室下单数量 - 统计报表
        /// </summary>
        /// <param name="projectid">项目id</param>
        /// <param name="usercode">用户code</param>
        /// <param name="stime">开始时间</param>
        /// <param name="etime">结束时间</param>
        /// <param name="userinfo">用户项目及相关信息</param>
        /// <returns></returns>
        object GetGoodsWOCount(string projectid, string stime, string etime, UserAccountInfoModel userinfo);
        
        #endregion
    }
}
