Example #1
0
        public List <ItemsDetailEntity> GetItemList(string enCode)
        {
            List <ItemsDetailEntity> lItemEntity = new List <ItemsDetailEntity>();

            lItemEntity = service.GetItemList(enCode);
            lItemEntity = InitItemDetails(enCode, lItemEntity);
            return(lItemEntity);
        }
 public List <ItemsDetailEntity> GetItemList(string enCode)
 {
     //cacheKey = cacheKey + "1_" + enCode;//拼接有参key值
     //var cacheList = cache.GetCache<List<ItemsDetailEntity>>(cacheKey);
     //if (cacheList == null)
     //{
     //    cacheList = service.GetItemList(enCode);
     //    cache.WriteCache<List<ItemsDetailEntity>>(cacheList, cacheKey, "UserCacheDependency", "Sys_ItemsDetail");
     //}
     return(service.GetItemList(enCode));
 }
Example #3
0
 public List <ItemsDetailEntity> GetItemList(string enCode)
 {
     return(service.GetItemList(enCode));
 }
Example #4
0
 public List <Sys_ItemsDetail> GetItemList(string enCode)
 {
     return(service.GetItemList(enCode));
 }
 public Task <List <ItemsDetailEntity> > GetItemList(string enCode, string tenantId)
 {
     return(service.GetItemList(enCode, tenantId));
 }