|
|
@@ -13,9 +13,11 @@ namespace HKCardOUT.QuartzUtil.Job |
|
|
|
{ |
|
|
|
default: |
|
|
|
{ |
|
|
|
|
|
|
|
var WaitSync = DbContext.Context.Queryable<SaleLog>().Where(t => t.IsSync == false).ToList(); |
|
|
|
if (WaitSync.Count > 0) |
|
|
|
{ |
|
|
|
HKLog.HKLogImport.WriteInfo($"订单推送执行,推送数量{WaitSync.Count}"); |
|
|
|
foreach (var input in WaitSync) |
|
|
|
{ |
|
|
|
var res = RemoteService.SyncSaleLog(input.CardNo, input.Location); |
|
|
|