|
@ -73,10 +73,10 @@ namespace BBWY.Server.Business.Sync |
|
|
DeleteOldData(shopList, startDate, endDate); |
|
|
DeleteOldData(shopList, startDate, endDate); |
|
|
foreach (var shop in shopList) |
|
|
foreach (var shop in shopList) |
|
|
{ |
|
|
{ |
|
|
//Task.Factory.StartNew(() => SyncShopPopularizeReportFormOrderLevelByDate(shop, startDate, endDate, 2),
|
|
|
Task.Factory.StartNew(() => SyncShopPopularizeReportFormOrderLevelByDate(shop, startDate, endDate, 2), |
|
|
// System.Threading.CancellationToken.None,
|
|
|
System.Threading.CancellationToken.None, |
|
|
// TaskCreationOptions.LongRunning,
|
|
|
TaskCreationOptions.LongRunning, |
|
|
// taskSchedulerManager.JDPopularizeTaskScheduler);
|
|
|
taskSchedulerManager.JDPopularizeTaskScheduler); |
|
|
|
|
|
|
|
|
Task.Factory.StartNew(() => SyncShopPopularizeReportFormOrderLevelByDate(shop, startDate, endDate, 134217728), |
|
|
Task.Factory.StartNew(() => SyncShopPopularizeReportFormOrderLevelByDate(shop, startDate, endDate, 134217728), |
|
|
System.Threading.CancellationToken.None, |
|
|
System.Threading.CancellationToken.None, |
|
|