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

namespace CallCenterApi.IRepositories
{
    public interface IQC_CheckListRepository : IRepository<QC_CheckList, string>
    {
        /// <summary>
        /// 分页列表 - 根据分页查询数据列表 包含查询条件，显示字段，排序 
        /// </summary>
        /// <param name="usercode"></param>
        /// <param name="calltype"></param>
        /// <param name="telephone"></param>
        /// <param name="checktype"></param>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <param name="pageindex"></param>
        /// <param name="pagesize"></param>
        /// <param name="recordcount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListsByPage(string usercode, int calltype, string telephone, int checktype, string stime, string etime, int pageindex, int pagesize, out int recordcount);

        /// <summary>
        /// 详情 - 获取详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        object GetDetails(string id);

        /// <summary>
        /// 获取坐席统计数据
        /// </summary>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <returns></returns>
        object GetSeatTotal(string stime, string etime,string usercode);

        /// <summary>
        /// 获取坐席月度排行
        /// </summary>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <param name="usercode"></param>
        /// <returns></returns>
        object GetSeatMonthRank(string stime, string etime, string usercode);

        /// <summary>
        /// 获取坐席月度分布图
        /// </summary>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <returns></returns>
        object GetSeatMonthChart(string stime, string etime);

        IEnumerable<object> GetLists(string dept, string stime, string etime, int pageindex, int pagesize, out int recordcount);
    }
}
