TG.WXCRM.V4/IBLL/RedisBL/ICUSTOMER_REDIS.cs

77 lines
3.2 KiB
C#

using System.Collections.Generic;
using WX.CRM.Model.Entity;
namespace WX.CRM.IBLL.RedisBL
{
public interface ICUSTOMER_REDIS
{
#region res_customer模块
RES_CUSTOMER GetInfo_Res_Customer(string resid, int IsTran = 1);
List<RES_CUSTOMER> GetList_Res_Customer(string[] resids, int IsTran = 1);
bool AddRedis_Res_Customer(RES_CUSTOMER entity);
#endregion
#region res_customerdetail模块
RES_CUSTOMERDETAIL GetInfo_Res_CustomerDetail(string resid, int IsTran = 1);
bool AddRedis_Res_CustomerDetail(RES_CUSTOMERDETAIL entity);
#endregion
#region gjs_customer模块
//GJS_CUSTOMER GetInfo_Gjs_Customer(string tradecode, int IsTran = 1);
//List<GJS_CUSTOMER> GetList_Gjs_Customer(string[] resids, int IsTran = 1);
//bool AddRedis_Gjs_Customer(GJS_CUSTOMER entity);
#endregion
#region gjs_customerboce模块
//GJS_CUSTOMERBOCE GetInfo_Gjs_Customerboce(string tradecode, int IsTran = 1);
//bool AddRedis_Gjs_Customerboce(GJS_CUSTOMERBOCE entity);
#endregion
#region soft_user模块
SOFT_USER GetInfo_Soft_User(string username, int IsTran = 1);
List<SOFT_USER> GetList_Soft_User(string[] usernames, int IsTran = 1);
bool AddRedis_Soft_User(SOFT_USER entity);
#endregion
#region res_customeruser_resid模块
List<RES_CUSTOMERUSER> GetList_Res_Customeruser_Resid(string resid, int IsTran = 1);
List<RES_CUSTOMERUSER> GetAll_Res_Customeruser_Resid(string[] resids, int IsTran = 1);
long AddRedis_Res_Customeruser_Resid(RES_CUSTOMERUSER entity);
#endregion
#region res_customeruser_username模块
List<RES_CUSTOMERUSER> GetList_Res_Customeruser_Username(string username, int IsTran = 1);
List<RES_CUSTOMERUSER> GetAll_Res_Customeruser_Username(string[] usernames, int IsTran = 1);
long AddRedis_Res_Customeruser_Username(RES_CUSTOMERUSER entity);
#endregion
#region ord_memocontent模块
ORD_MEMOCONTENT GetInfo_Ord_Memocontent(decimal contentid, int IsTran = 1);
List<ORD_MEMOCONTENT> GetList_Ord_Memocontent(decimal[] contentids, int IsTran = 1);
bool AddRedis_Ord_Memocontent(ORD_MEMOCONTENT entity);
bool DeleteRedis_Ord_Memocontent(decimal contentid);
#endregion
#region cache_ord_memo模块
CACHE_ORD_MEMO GetList_CacheOrdMemo(decimal memoid, int IsTran = 1);
List<CACHE_ORD_MEMO> GetAll_CacheOrdMemo(decimal[] memoids, int IsTran = 1);
bool AddRedis_CacheOrdMemo(CACHE_ORD_MEMO entity);
bool DeleteRedis_CacheOrdMemo(decimal memoid);
#endregion
#region resid_memoid_redis模块
List<decimal> GetList_MemoID(string resid, int IsTran = 1);
List<decimal> GetAll_MemoId(string[] resids, int IsTran = 1);
bool AddRedis_Resid_Memoid(string resid, decimal memoid);
bool DeleteRedis_Resid_Memoid(string resid, decimal memoid);
#endregion
#region
bool AddRedis_Res_CallOutCustomer(RES_CALLOUTCUSTOMER entity);
bool RemoveRedis_Res_CallOutCustomer(string key);
#endregion
}
}