修复 商铺统计 更新日志bug
This commit is contained in:
1 parent
aff674c862
commit
79dfefaceb
1 file changed
+2
-2
@@ -437,7 +437,7 @@ public class ShopRevenueStatisticsService : ITransientDependency
|
|||||||
// 2. 这些日期走"全量执行":对所有商铺跑
|
// 2. 这些日期走"全量执行":对所有商铺跑
|
||||||
foreach (var item in dict)
|
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)
|
if (item.Value.Count > 1000)
|
||||||
{
|
{
|
||||||
_logger.Info($"更新全天:{_date}");
|
_logger.Info($"更新全天:{_date}");
|
||||||
@@ -446,7 +446,7 @@ public class ShopRevenueStatisticsService : ITransientDependency
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var _shopIds = item.Value.Distinct().ToList();
|
var _shopIds = item.Value.Distinct().ToList();
|
||||||
_logger.Info($"{_date} 更新指定商铺:{string.Join(",", _shopIds)}");
|
_logger.Info($"日期:{_date} 更新指定商铺:{string.Join(",", _shopIds)}");
|
||||||
ShopDailyStats(item.Key, _shopIds);
|
ShopDailyStats(item.Key, _shopIds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user