diff --git a/KJD_WebService/Services/Shops/ShopRevenueStatisticsService.cs b/KJD_WebService/Services/Shops/ShopRevenueStatisticsService.cs index b07a3e3..bd64ed8 100644 --- a/KJD_WebService/Services/Shops/ShopRevenueStatisticsService.cs +++ b/KJD_WebService/Services/Shops/ShopRevenueStatisticsService.cs @@ -437,7 +437,7 @@ public class ShopRevenueStatisticsService : ITransientDependency // 2. 这些日期走"全量执行":对所有商铺跑 foreach (var item in dict) { - string _date = DateTime.Now.ToString("yyyy-MM-dd"); + string _date = item.Key.ToString("yyyy-MM-dd"); if (item.Value.Count > 1000) { _logger.Info($"更新全天:{_date}"); @@ -446,7 +446,7 @@ public class ShopRevenueStatisticsService : ITransientDependency else { var _shopIds = item.Value.Distinct().ToList(); - _logger.Info($"{_date} 更新指定商铺:{string.Join(",", _shopIds)}"); + _logger.Info($"日期:{_date} 更新指定商铺:{string.Join(",", _shopIds)}"); ShopDailyStats(item.Key, _shopIds); } }