|
|
@ -370,7 +370,7 @@ namespace BBWY.Client.ViewModels |
|
|
|
if (!IsSDGroup) |
|
|
|
{ |
|
|
|
Task.Factory.StartNew(() => LoadTodayAchievement(StartDate, EndDate, queryShopId.Value)); |
|
|
|
Task.Factory.StartNew(() => LoadOrderCount(StartDate, EndDate, queryShopId.Value)); |
|
|
|
Task.Factory.StartNew(() => LoadOrderCount(queryShopId.Value)); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@ -486,9 +486,9 @@ namespace BBWY.Client.ViewModels |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
private void LoadOrderCount(DateTime startDate, DateTime endDate, long shopId) |
|
|
|
private void LoadOrderCount(long shopId) |
|
|
|
{ |
|
|
|
var response = statisticsService.GetOrderCountStatistics(shopId, startDate, endDate); |
|
|
|
var response = statisticsService.GetOrderCountStatistics(shopId); |
|
|
|
if (!response.Success) |
|
|
|
return; |
|
|
|
WaitPurchaseOrderCount = response.Data.WaitPurchaseCount; |
|
|
|