321 lines
9.5 KiB
C#
321 lines
9.5 KiB
C#
using CRM.Core.DTO;
|
||
using System.Collections.Generic;
|
||
using WX.CRM.Model.Entity;
|
||
using WX.CRM.Model.Enum;
|
||
|
||
namespace WX.CRM.IBLL.Util
|
||
{
|
||
public interface ICACHE_Q
|
||
{
|
||
/// <summary>
|
||
/// 获取excel数据导入类型列表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_EXCELIMPORTTYPE> GetList_ExcelImportType();
|
||
|
||
/// <summary>
|
||
/// 获取excel数据导入类型
|
||
/// </summary>
|
||
/// <param name="excelDataType">数据导入类型</param>
|
||
/// <returns></returns>
|
||
BAS_EXCELIMPORTTYPE GetModel_ExcelImportType(EnumExcelDataType excelDataType);
|
||
|
||
/// <summary>
|
||
/// excel数据导入字典
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_EXCELIMPORTDICT> GetList_ExcelImportDict();
|
||
|
||
/// <summary>
|
||
/// excel数据导入字典
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_EXCELIMPORTDICT> GetList_ExcelImportDict(EnumExcelDataType excelDataType);
|
||
|
||
/// <summary>
|
||
/// excel数据导入字典
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_EXCELIMPORTDICT> GetList_ExcelImportDict(EnumExcelDataType excelDataType, decimal isNew);
|
||
|
||
/// <summary>
|
||
/// 工单样式列表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<ORD_MEMOSTYLE> GetList_MemoStyle();
|
||
|
||
/// <summary>
|
||
/// 获取通用数据小类
|
||
/// </summary>
|
||
/// <param name="type">Model.Enum.ComType</param>
|
||
/// <returns></returns>
|
||
List<BAS_SUBCOMTYPE> GetList_SubComType(WX.CRM.Model.Enum.ComType type);
|
||
|
||
List<BAS_SUBCOMTYPE> GetList_SubComType(string typeCode);
|
||
|
||
/// <summary>
|
||
/// 获取角色编码
|
||
/// </summary>
|
||
/// <param name="roleIds">角色ID数组</param>
|
||
/// <returns></returns>
|
||
string Get_RoleCodes(decimal[] roleIds);
|
||
|
||
/// <summary>
|
||
/// 获取角色列表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_ROLE> GetList_Role();
|
||
|
||
List<BAS_RIGHT_LEVEL> GetRightLevel();
|
||
|
||
List<BAS_RIGHT_LEVEL_DETAIL> GetRightLevelDetail();
|
||
|
||
/// <summary>
|
||
/// 获取工单大类(只查询可显示)
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<ORD_MEMOTYPE> GetList_MemoType(int type = 1);
|
||
|
||
/// <summary>
|
||
/// 获取工单小类信息 (只查询可显示)
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<ORD_MEMOSUBTYPE> GetList_MemoSubType(int type = 1);
|
||
|
||
string GetValue_Parameter(string key);
|
||
|
||
/// <summary>
|
||
/// 根据Model.Enum.Parameter 获取参数value
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
string GetValue_Parameter(WX.CRM.Model.Enum.Parameter key);
|
||
|
||
/// <summary>
|
||
/// 根据系统参数分类获取系统参数列表
|
||
/// </summary>
|
||
/// <param name="type">系统参数分类</param>
|
||
/// <returns></returns>
|
||
List<BAS_PARAMETER> GetList_Parameter(WX.CRM.Model.Enum.ParameterGroup type);
|
||
|
||
/// <summary>
|
||
/// 根据参数分类和参数值获取参数名
|
||
/// </summary>
|
||
/// <param name="paravalue">参数值</param>
|
||
/// <param name="type">参数分类</param>
|
||
/// <returns></returns>
|
||
string GetParaNameByParavalue(string paravalue, ParameterGroup type);
|
||
|
||
/// <summary>
|
||
/// 获取全部公司列表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<WX.CRM.Model.Entity.BAS_COMPANY> GetList_innerCompany();
|
||
|
||
/// <summary>
|
||
/// 获取销售组树形
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
object GetTreeList_InnerGroup(bool hasUser = false, string filteStr = "", int type = 1);
|
||
|
||
/// <summary>
|
||
/// 多选部门 人员
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
object GetInneruserTree(bool hasUser = true);
|
||
|
||
/// <summary>
|
||
/// 获取销售组树形(只显示销售组)
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
object GetTreeListIsSale_InnerGroup();
|
||
|
||
/// <summary>
|
||
/// 获取销售部树形结构
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
object GetTreeList_saleDepartMent();
|
||
|
||
/// <summary>
|
||
/// 获取tree数据列表(type可以传空,默认折叠部分节点,传1不折叠)
|
||
/// </summary>
|
||
/// <param name="type"></param>
|
||
/// <returns></returns>
|
||
object GetTreeList_innerDepartment(string type);
|
||
|
||
/// <summary>
|
||
/// 获取tree数据列表(包括了挂在部门里面的销售组)
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
object GetDeptGroupTreeList_DeptGroup();
|
||
|
||
List<SMS_MSGTYPE> GetSmsTypeList();
|
||
|
||
object GetSmsCrmTreeList();
|
||
|
||
object GetSmsTypeTreeList();
|
||
|
||
/// <summary>
|
||
/// 获取所有员工
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
Dictionary<decimal, string> GetList_Inneruser();
|
||
|
||
List<BAS_INNERUSER> GetUserList();
|
||
|
||
List<BAS_INNERGROUP> GetGroupList();
|
||
|
||
/// <summary>
|
||
/// 销售部列表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_SALESDEPARTMENT> GetList_SalesDepartMent();
|
||
|
||
List<BAS_BUSINESSDEPARTMENT> GetList_BussinessDepartMent();
|
||
|
||
List<BAS_BUSINESSLINES> GetList_BusinessLines();
|
||
|
||
List<BAS_BUSINESSCHANNEL> GetList_BusinessChannels();
|
||
|
||
/// <summary>
|
||
/// 菜单缓存
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_LEFTMEMU> GetList_LeftMemu();
|
||
|
||
/// <summary>
|
||
/// 模块导航菜单缓存
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_MODULEMENU> GetList_ModuleMenu();
|
||
|
||
List<SOFT_ACTIVE> GetList_SoftProduct();
|
||
|
||
/// <summary>
|
||
/// 产品表
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
//List<GJS_PRODUCT> GetList_Gjs_Product();
|
||
/// <summary>
|
||
/// 获取部门信息
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
Dictionary<decimal, string> GetDictionary_InnerDepartMent();
|
||
|
||
/// <summary>
|
||
/// 获取开户或者银行卡返回结果编码对应值
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
//List<GJS_OPENACCOUNTRETCODE> GetList_OpenAccountRetCode(int type);
|
||
/// <summary>
|
||
/// 员工组关系
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<BAS_INNERUSERGROUP> GetList_InnerUserGroup();
|
||
|
||
/// <summary>
|
||
/// 根据 组获取员工ID
|
||
/// </summary>
|
||
/// <param name="groups"></param>
|
||
/// <returns></returns>
|
||
string GetUserIds_ByGorups(string groups);
|
||
|
||
/// <summary>
|
||
/// 获取最新开户信息(五分钟过期)
|
||
/// </summary>
|
||
/// <param name="userId">根据用户来存储</param>
|
||
/// <returns></returns>
|
||
List<CSVR_MSGOPENACCOUNT> GetNewOpenAccountList(decimal userId);
|
||
|
||
/// <summary>
|
||
/// 获取最近通话记录(五分钟过期)
|
||
/// </summary>
|
||
/// <param name="eid">用户工号</param>
|
||
/// <returns></returns>
|
||
List<CSVR_CALLINLOG> GetCallInLogList(decimal eid);
|
||
|
||
/// <summary>
|
||
/// 获取最近通话记录(五分钟过期)
|
||
/// </summary>
|
||
/// <param name="eid">用户工号</param>
|
||
/// <returns></returns>
|
||
List<CSVR_TODAYRECORD> GetCallLogList(decimal eid);
|
||
|
||
/// <summary>
|
||
/// l2产品
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<Model.Entity.L2Soft_ProductDetail> GetProductDetail();
|
||
|
||
/// <summary>
|
||
/// 产品大类
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<Model.Entity.L2_SOFT_BIGPRODUCT> GetBigProductList();
|
||
|
||
/// <summary>
|
||
/// 产品小类
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<Model.Entity.L2_SOFT_PRODUCT> GetSProductList();
|
||
|
||
List<WX.CRM.Model.Entity.SOFT_MODULE> GetAllModule();
|
||
|
||
/// <summary>
|
||
/// 获取录音分类
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<CSVR_RECORDTYPE> GetList_RecordType();
|
||
|
||
IList<RES_RESOURCETYPE> GetResourceType();
|
||
|
||
/// <summary>
|
||
/// 获取资源活动
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<RES_ACTIVITY> GetList_ResActivity();
|
||
|
||
/// <summary>
|
||
/// 房间
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<WX.CRM.Model.Entity.BAS_ROOM> GetRoomList();
|
||
|
||
/// <summary>
|
||
/// 外呼出局號碼配置
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<CSVR_CALLOUTPARA> GetList_CallOutPara();
|
||
|
||
IList<BAS_GROUPLEADER> GetGroupleaders();
|
||
|
||
IList<BAS_ACTIONLOGCONFIG> GetActionLogConfig();
|
||
|
||
List<QH_PRODUCT> GetList_QH_Product();
|
||
|
||
Dictionary<decimal, decimal> GetResSalesgroup();
|
||
|
||
decimal GetDeptManager(decimal gid);
|
||
|
||
List<BAS_PROVINCE> GetProvince();
|
||
|
||
List<BAS_CITY> GetCity();
|
||
|
||
/// <summary>
|
||
/// 获取ai配置
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
List<AI_CallTaskConfigDto> GetAiConfig();
|
||
|
||
string GetCurChannel(decimal userId);
|
||
|
||
List<Dictionary<string, string>> GetDeptDownList();
|
||
|
||
List<DeptChannelModel> ConvertChannelName(List<int> list);
|
||
|
||
List<DeptMapModel> GetDeptNameMapList();
|
||
|
||
List<DeptLineMap> GetList_deptLineMap();
|
||
|
||
string GetUMid(string phone);
|
||
}
|
||
} |