using System; using System.Collections.Generic; using WX.CRM.Common; using WX.CRM.Common.Layui; using WX.CRM.Model.crmModel; using WX.CRM.Model.DTO; using WX.CRM.Model.Entity; using WX.CRM.Model.Ww; namespace WX.CRM.IBLL.Ww { public interface IWw_huser { List Corp_Get(); /// /// 外部联系人单个获取 /// /// /// Ww_Extuser ExtUserGet(string userid); Ww_hhuser HHuser_Get(string userid); Ww_hhuser HHuser_Get(string userid, string corpid); /// /// 获取企业微信成员列表 /// /// /// /// /// List WorList_Get(ref Laypage page, string v_name, string v_corpid, string v_deptid, decimal? txt_companyId, string txt_deptId, string txt_groupIds, decimal? txt_userId, decimal? seid, int assignStatus,int orderType); Dictionary> GetAllCorpDept(string companycode); List GeExtUsertList(string corpid, string name, ref Pager pager); WW_HHUSER_EID GetModel(string userid, string corp); List GetUserList(params decimal[] userid); /// /// 根据客服的企微ID /// /// /// List GetUserListByQWUserId(params string[] userid); /// /// 设置工号 /// /// /// /// /// /// bool SetEid(decimal eid, string userid, string corp, decimal? status, ref ValidationErrors erro); bool SetAssignStatus(AssignStatusDto dto); /// /// 获取企业合规的关键词 /// /// List GetKeyWordAll(); /// /// 修改关键字 /// /// /// bool UpdateKeyWord(Hg_KeyWordAllModel model, ref string message); /// /// 修改合规关键词,当前用到 /// /// /// /// bool SetKeyWords(string keywords, ref ValidationErrors erro); /// /// 获取合规消息 /// /// /// 客服ID /// 聊天开始时间 /// 聊天结束时间 /// 系统操作开始时间 /// 系统操作结束时间 /// 关键词 /// 客服ID /// 客户ID /// List GetHg_Message(ref Pager pager, string userNames, DateTime? msgstime, DateTime? msgetime, DateTime? stime, DateTime? etime, string keyword, string kefid, string userid, int? status); /// /// 将合规信息修改成已读 /// /// /// bool Read(string msgid); /// /// 根据msgid获取 违规关键字 /// /// /// List GetMsgWordList(params string[] msgids); /// /// 已经违规 /// /// /// bool Violations(string msgid); /// /// 获取单条数据 /// /// /// Hg_MessageModel GetMsgById(string msgid); Ww_Extuser GetExtUserByUnionId(string unionid); List GetUserExtUserByUserId(string userid); } }