//using CRM.Core.DTO; using System; using System.Collections.Generic; using WX.CRM.Model.Entity; using WX.CRM.Model.Enum; namespace WX.CRM.IBLL.Util { public interface ICACHE_Q { /// /// 获取excel数据导入类型列表 /// /// List GetList_ExcelImportType(); /// /// 获取excel数据导入类型 /// /// 数据导入类型 /// BAS_EXCELIMPORTTYPE GetModel_ExcelImportType(EnumExcelDataType excelDataType); /// /// excel数据导入字典 /// /// List GetList_ExcelImportDict(); /// /// excel数据导入字典 /// /// List GetList_ExcelImportDict(EnumExcelDataType excelDataType); /// /// excel数据导入字典 /// /// List GetList_ExcelImportDict(EnumExcelDataType excelDataType, decimal isNew); /// /// 工单样式列表 /// /// List GetList_MemoStyle(); /// /// 获取通用数据小类 /// /// Model.Enum.ComType /// List GetList_SubComType(WX.CRM.Model.Enum.ComType type); List GetList_SubComType(string typeCode); /// /// 获取角色编码 /// /// 角色ID数组 /// string Get_RoleCodes(decimal[] roleIds); /// /// 获取角色列表 /// /// List GetList_Role(); List GetRightLevel(); List GetRightLevelDetail(); /// /// 获取工单大类(只查询可显示) /// /// List GetList_MemoType(int type = 1); /// /// 获取工单小类信息 (只查询可显示) /// /// List GetList_MemoSubType(int type = 1); string GetValue_Parameter(string key); /// /// 根据Model.Enum.Parameter 获取参数value /// /// string GetValue_Parameter(WX.CRM.Model.Enum.Parameter key); /// /// 根据系统参数分类获取系统参数列表 /// /// 系统参数分类 /// List GetList_Parameter(WX.CRM.Model.Enum.ParameterGroup type); /// /// 根据参数分类和参数值获取参数名 /// /// 参数值 /// 参数分类 /// string GetParaNameByParavalue(string paravalue, ParameterGroup type); /// /// 获取全部公司列表 /// /// List GetList_innerCompany(); /// /// 获取销售组树形 /// /// object GetTreeList_InnerGroup(bool hasUser=false,string filteStr = ""); /// /// 获取销售组树形(只显示销售组) /// /// object GetTreeListIsSale_InnerGroup(); /// /// 获取销售部树形结构 /// /// object GetTreeList_saleDepartMent(); /// /// 获取tree数据列表(type可以传空,默认折叠部分节点,传1不折叠) /// /// /// object GetTreeList_innerDepartment(string type); /// /// 获取tree数据列表(包括了挂在部门里面的销售组) /// /// object GetDeptGroupTreeList_DeptGroup(); List GetSmsTypeList(); object GetSmsCrmTreeList(); object GetSmsTypeTreeList(); /// /// 获取所有员工 /// /// Dictionary GetList_Inneruser(); List GetUserList(); List GetGroupList(); /// /// 销售部列表 /// /// List GetList_SalesDepartMent(); /// /// 菜单缓存 /// /// List GetList_LeftMemu(); /// /// 模块导航菜单缓存 /// /// List GetList_ModuleMenu(); List GetList_SoftProduct(); /// /// 产品表 /// /// //List GetList_Gjs_Product(); /// /// 获取部门信息 /// /// Dictionary GetDictionary_InnerDepartMent(); /// /// 获取开户或者银行卡返回结果编码对应值 /// /// //List GetList_OpenAccountRetCode(int type); /// /// 员工组关系 /// /// List GetList_InnerUserGroup(); /// /// 根据 组获取员工ID /// /// /// string GetUserIds_ByGorups(string groups); /// /// 获取最新开户信息(五分钟过期) /// /// 根据用户来存储 /// List GetNewOpenAccountList(decimal userId); /// /// 获取最近通话记录(五分钟过期) /// /// 用户工号 /// List GetCallInLogList(decimal eid); /// /// 获取最近通话记录(五分钟过期) /// /// 用户工号 /// List GetCallLogList(decimal eid); /// /// l2产品 /// /// List GetProductDetail(); /// /// 产品大类 /// /// List GetBigProductList(); /// /// 产品小类 /// /// List GetSProductList(); List GetAllModule(); /// /// 获取录音分类 /// /// List GetList_RecordType(); IList GetResourceType(); /// /// 获取资源活动 /// /// List GetList_ResActivity(); /// /// 房间 /// /// List GetRoomList(); /// /// 外呼出局號碼配置 /// /// List GetList_CallOutPara(); IList GetGroupleaders(); IList GetActionLogConfig(); List GetList_QH_Product(); Dictionary GetResSalesgroup(); decimal GetDeptManager(decimal gid); List GetProvince(); List GetCity(); /// /// 获取ai配置 /// /// List GetAiConfig(); List GetAllCrmUser(); string GetUMid(string phone); string GetPhone(string umid); } /// /// 创建订单外呼任务配置 /// public class AI_CallTaskConfigDto { /// /// 订单外呼起始时间 /// public DateTime StartTime { get; set; } = DateTime.Parse("2021-12-01"); /// /// 仅呼叫近几天支付的订单 /// public int CallDay { get; set; } = 7; public List ReCallStatus { get; set; } /// /// //优先级别1-紧急 2-优先 /// public string Priority { get; set; } = "2"; /// /// 最小订单金额 /// public decimal MinAmount { get; set; } = 1m; public List ReCallMins { get; set; } /// /// 同人检查时间,分钟 /// public int SameUserCheckTimeSpanMin { get; set; } = 1; /// /// 呼叫忽略配置 /// // public List IgnoreHitConfigs { get; set; } = new List(); /// /// 呼叫话术 /// //public ProposProductConfig proposProductConfig { get; set; } = new ProposProductConfig(); /// /// 是否发短信1:发, 0:不发 /// public int Sms { get; set; } /// /// 发短信多久后外呼,分钟 /// public int SmsExprieMinCall { get; set; } = 1; public string Robot { get; set; } public string CallNo { get; set; } public string AppId { get; set; } public string RobotName { get; set; } public string Remark { get; set; } /// /// 允许外拨时间段 /// public string HgrecordStime { get; set; } /// /// 允许外拨时间段 /// public string HgrecordEtime { get; set; } } }