/// <summary> /// 获取成长之星数据 /// </summary> /// <param name="winners"></param> /// <param name="limitShop"></param> /// <returns></returns> private List <ShopRetailRank> GetShopRetailRankedOfGrowth(List <ShopRetailRankLimit> winners, out List <ShopRetailRank> limitShop) { Log.Info($"【成长之星】定时获取门店零售单排名数据:开始时间:{_startGrowth},结束时间:{_endGrowth}", this.GetType()); var rankView = _shopBll.GetShopRetailRank(_startGrowth.ToTimestamp(), _endGrowth.ToTimestamp()).Result; rankView = ClearAwayWinnerOfGrowth(rankView, winners, out var limitShopView); //被排除的门店 limitShop = limitShopView.Select(p => ConvertToShopRetailRank(p, _startGrowth, _endGrowth, 0, (int)ShopRetailRankTypeEnum.Growth, true) ).ToList(); var rank = 0; return(rankView.Select(p => ConvertToShopRetailRank(p, _startGrowth, _endGrowth, ++rank, (int)ShopRetailRankTypeEnum.Growth) ).ToList()); }