Beispiel #1
0
        /// <summary>
        /// 获取门店统计信息
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public async Task <List <ShopStatisticsView> > GetShopStatistics(ShopStatisticsTypeEnum type)
        {
            var buckt = await GetCache((int)type);

            if (buckt != null)
            {
                return(buckt.ShopStatistics);
            }
            return(null);
        }
Beispiel #2
0
 /// <summary>
 /// 更新全国门店统计信息
 /// </summary>
 /// <param name="type"></param>
 public async Task UpdateShopStatistics(ShopStatisticsTypeEnum type)
 {
     await UpdateCache((int)type);
 }
Beispiel #3
0
 /// <summary>
 /// 更新全国门店统计信息
 /// </summary>
 /// <param name="type"></param>
 public async Task UpdateShopStatistics(ShopStatisticsTypeEnum type)
 {
     await _shopStatisticsDal.UpdateShopStatistics(type);
 }
Beispiel #4
0
 /// <summary>
 /// 获取全国门店统计信息
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public async Task <List <ShopStatisticsView> > GetShopStatistics(ShopStatisticsTypeEnum type)
 {
     return(await _shopStatisticsDal.GetShopStatistics(type));
 }