using System;
using System.Collections.Generic;
using WX.CRM.Common;
using WX.CRM.Model.Entity;
using WX.CRM.Model.QueryMap;
namespace WX.CRM.IBLL.QH
{
public interface IQH_PerformanceQuery_Q
{
///
/// 员工佣金统计-汇总(实时)
///
///
/// 组ID
/// 员工ID
/// 经纪人工号
/// 交易开始时间
/// 交易结束时间
/// 是否在职
///
List QH_UserPerformanceQuery(
ref Pager pager,
string p_groupId,
string p_inneruserId,
decimal p_saleEid,
DateTime? p_sd1,
DateTime? p_sd2,
decimal p_isDismiss,
string businessType
);
///
/// 开户及交易情况分组统计(实时)
///
///
/// 组ID
/// 起始时间
/// 终止时间
///
List QH_GroupPerformanceQuery(
ref Pager pager,
string p_deptId,
string p_groupId,
DateTime? p_sd1,
DateTime? p_sd2
);
//void QH_GroupPerformanceInitCache(string deptid, decimal yearMonth);
//List QH_UserPerformanceQueryCache(
// ref Pager pager,
// string p_groupId,
// string p_innseruserId,
// decimal p_saleEid,
// decimal? p_yearMont,
// decimal p_isDismiss,
// out DateTime initDate
// );
// void QH_UserPerformanceInitCache(decimal yearMonth);
// List QH_GroupPerformanceQueryCache(
// ref Pager pager,
// string p_deptId,
// string p_groupId,
// decimal? yearMont,
// out DateTime initDate
//);
List QH_MonthlyUserPerformanceQuery(ref Pager pager, decimal p_saleEid, decimal p_isDismiss, string groupId, decimal inneruserId, string checkResult, string month);
List QH_MonthlyGroupPerformanceQuery(ref Pager pager, string groupId, DateTime month);
List QH_MonthlyGroupPerformanceCollectQuery(ref Pager pager, DateTime monthStart, DateTime month);
}
}