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 getResByResIds(string[] resIds); List getResByUmids(string[] umids); List GetList_Customer(string customerid); /// /// 根据resid查询出所有的关联ID /// /// /// List GetList_CustomerByResid(string Resid); /// /// 根据resid查询出所有的关联ID /// /// /// List GetList_CustomerByUMID(string UMID); List ResIDNoOutboundFilter(ref ValidationErrors errors, DataTable tab, string importId, DateTime stime, DateTime etime, decimal t_type, string slt_Open, string slt_NotOpen); List GetResChoiceExpor(ref ValidationErrors errors, string resStime, string resEtime, int checkWeixin, int checkOrder, string memoSubType, string memoStime, string memoEtime); List GetResIdByMemoChoiceExport(ref ValidationErrors errors, DateTime? memoStime, DateTime? memoEtime, decimal? memoType1, decimal? memoType2, decimal? group1, decimal? group2); List 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); /// /// 判断该资源是否能够查看手机号码 /// /// 客户ID /// 员工ID /// 权限码 /// DataTable CheckResidCanShowMobile(string v_resid, decimal v_userid, string v_roleCodes); /// /// 根据导入resid进行条件过滤 /// /// 资源数据 /// 导入id /// 过滤开始时间 /// 过滤结束时间 /// 选项ID /// 工单过滤类型ID /// List res_GetFilterImportRes(ref ValidationErrors errors, DataTable tab, string importId, DateTime? stime, DateTime? etime, string checkType_hid, string subType_hid); DataTable ResTrace(string resId); /// /// 客户基础信息中获取其他信息 /// void GetResCustomerOtherInfo(ref RES_CUSTOMER cData); List GetBestCustomer(Pager pager, BestCustomerQueryDto dto); RES_CUSTOMER_BEST GetBestCustomerById(string id); /// /// 重置CustomerId /// /// void ResetCustomerId(string resid); int InitPhone(); } }