using System.Common;
using System;
using System.Model;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace System.IRepositories
{
    public interface IBus_OrderRepository : IRepository<T_Bus_Order>
    {
        /// <summary>
        /// 获取某月员工绩效  总数
        /// </summary>
        /// <param name="userid">某员工</param>
        /// <param name="dtStart">时间所在月</param>
        /// <returns></returns>
        Task<List<decimal>> SendTotleNumber(int userid, DateTime dtStart);

        /// <summary>
        /// 获取某月员工绩效  签收
        /// </summary>
        /// <param name="userid">某员工</param>
        /// <param name="dtStart">时间所在月</param>
        /// <returns></returns>
        Task<List<decimal>> SignNumber(int userid, DateTime dtStart);

        /// <summary>
        /// 获取某月员工绩效  签收
        /// </summary>
        /// <param name="userid">某员工</param>
        /// <param name="dtStart">时间所在月</param>
        /// <returns></returns>
        Task<List<decimal>> RefuseNumber(int userid, DateTime dtStart);


        /// <summary>
        /// 获取某月员工绩效  录入错误上上月
        /// </summary>
        /// <param name="userid">某员工</param>
        /// <param name="dtStart">时间所在月（下一个月）</param>
        /// <returns></returns>
        Task<List<decimal>> ErrorNumber(int userid, DateTime dtStart);

        /// <summary>
        /// 获取某月员工绩效  单独统计的物品 特殊统计物品
        /// </summary>
        /// <param name="userid">某员工</param>
        /// <param name="dtStart">时间所在月</param>
        /// <returns></returns>
        Task<decimal> AlongMoney(int userid, DateTime dtStart);
        
    }
}
