using Crm.Core.Domain.Dto.Customer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Crm.Core.Domain.Config.SystemEnums; namespace Crm.Core.Domain.Impl { public interface ICacheDomain : ITransientDependency { Task GetValueParameter(string key); Task GetValueParameter(ParameterEnums key); Task GetParameter(string key) where T : new(); Task GetParameter(ParameterEnums key) where T : new(); Task SetApp(IOracleRepository repository, decimal deptmentId); Task SetApp(IOracleRepository repository, string appid); Task> GetDeptmentIdByApp(string app); Task GetAppidByDeptmentId(decimal deptmentId); Task> GetDeptmentIds(); Task> GetSpecialDeptmentIdsByRightCode(string rightcode); Task> GetSalesDeptList(); Task GetCurrentEid(); Task> GetDeptmentIdsByEid(decimal eid); Task> GetEidsByDeptmentIds(GroupOrDeptIdDto deptStr); Task GetBusinessLineByDeptMentIds(GroupOrDeptIdDto dto); Task LevelSSO(decimal eid); Task> GetSalesDeptsForEid(decimal eid); Task> GetDeptments(); void GetAllDeptIDOrGidByDeptStr(string deptstr, ref List ALLdeptIDS, ref List ALLgidS); string GetApp(); Task> GetLeadEid(decimal deptid, decimal eid); Task> GetUserInfoByEIds(string eids); Task SynchronousCustomer(SynchronousCustomerDto dto); Task GetSeq_smallid_get(decimal deptid); } }