101 lines
4.0 KiB
C#
101 lines
4.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.Model.Entity;
|
|
using WX.CRM.Model.MAP;
|
|
|
|
namespace WX.CRM.IBLL.Res
|
|
{
|
|
public interface IRES_CUSTOMER_Q
|
|
{
|
|
WX.CRM.Model.Entity.RES_CUSTOMER getResCustomerByResId(string resId);
|
|
|
|
WX.CRM.Model.Entity.RES_CUSTOMER getResCustomerByUmid(string resId);
|
|
|
|
WX.CRM.Model.Entity.RES_CUSTOMER GetModel(string id);
|
|
|
|
string GetUMIDByResid(string resid);
|
|
|
|
string GetResidByUMID(string UMID);
|
|
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> getResByResIds(string[] resIds);
|
|
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> getResByUmids(string[] umids);
|
|
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> GetList_Customer(string customerid);
|
|
|
|
/// <summary>
|
|
/// 根据resid查询出所有的关联ID
|
|
/// </summary>
|
|
/// <param name="Resid"></param>
|
|
/// <returns></returns>
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> GetList_CustomerByResid(string Resid);
|
|
|
|
/// <summary>
|
|
/// 根据resid查询出所有的关联ID
|
|
/// </summary>
|
|
/// <param name="Resid"></param>
|
|
/// <returns></returns>
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> GetList_CustomerByUMID(string UMID);
|
|
|
|
List<string> ResIDNoOutboundFilter(ref ValidationErrors errors, DataTable tab, string importId, DateTime stime, DateTime etime, decimal t_type, string slt_Open, string slt_NotOpen);
|
|
|
|
List<string> GetResChoiceExpor(ref ValidationErrors errors, string resStime, string resEtime, int checkWeixin, int checkOrder, string memoSubType, string memoStime, string memoEtime);
|
|
|
|
List<string> GetResIdByMemoChoiceExport(ref ValidationErrors errors, DateTime? memoStime, DateTime? memoEtime, decimal? memoType1, decimal? memoType2, decimal? group1, decimal? group2);
|
|
|
|
List<WX.CRM.Model.Entity.RES_CUSTOMER> GetListByResId(string resId);
|
|
|
|
DataTable GetList_CustomerByResIds(string CustomerIds);
|
|
|
|
DataTable Res_ResourceEffectAnalysis(ref Pager pager, DateTime? p_sd1, DateTime? p_sd2, decimal restypeId, decimal activityId, QueryUserComboDto usercomboDto);
|
|
|
|
//根据customerid查找 resids
|
|
string[] GetAllResidByCustomerId(string CustomerId);
|
|
|
|
DataSet Res_GetHowDayNoCCall(DateTime v_resStartTime, DateTime v_resEndTime, DateTime v_whStartTime, DateTime v_whEndTime);
|
|
|
|
DataTable Res_ResourceOrderList(DateTime? p_sd1, DateTime? p_sd2, decimal restypeId, decimal activityId, string groupId, string inneruserId);
|
|
|
|
/// <summary>
|
|
/// 判断该资源是否能够查看手机号码
|
|
/// </summary>
|
|
/// <param name="v_resid">客户ID</param>
|
|
/// <param name="v_userid">员工ID</param>
|
|
/// <param name="v_roleCodes">权限码</param>
|
|
/// <returns></returns>
|
|
DataTable CheckResidCanShowMobile(string v_resid, decimal v_userid, string v_roleCodes);
|
|
|
|
/// <summary>
|
|
/// 根据导入resid进行条件过滤
|
|
/// </summary>
|
|
/// <param name="tab">资源数据</param>
|
|
/// <param name="importId">导入id</param>
|
|
/// <param name="stime">过滤开始时间</param>
|
|
/// <param name="etime">过滤结束时间</param>
|
|
/// <param name="checkType_hid">选项ID</param>
|
|
/// <param name="subType_hid">工单过滤类型ID</param>
|
|
/// <returns></returns>
|
|
List<string> res_GetFilterImportRes(ref ValidationErrors errors, DataTable tab, string importId, DateTime? stime, DateTime? etime, string checkType_hid, string subType_hid);
|
|
|
|
DataTable ResTrace(string resId);
|
|
|
|
/// <summary>
|
|
/// 客户基础信息中获取其他信息
|
|
/// </summary>
|
|
void GetResCustomerOtherInfo(ref RES_CUSTOMER cData);
|
|
|
|
List<BestCustomerViewModel> GetBestCustomer(Pager pager, BestCustomerQueryDto dto);
|
|
|
|
RES_CUSTOMER_BEST GetBestCustomerById(string id);
|
|
|
|
/// <summary>
|
|
/// 重置CustomerId
|
|
/// </summary>
|
|
/// <param name="resid"></param>
|
|
void ResetCustomerId(string resid);
|
|
|
|
int InitPhone();
|
|
}
|
|
} |