@@ -14,9 +14,9 @@ | |||||
<AssemblyVersion>1.0.0.0</AssemblyVersion> | <AssemblyVersion>1.0.0.0</AssemblyVersion> | ||||
<Platforms>AnyCPU;x86</Platforms> | <Platforms>AnyCPU;x86</Platforms> | ||||
</PropertyGroup> | </PropertyGroup> | ||||
<PropertyGroup> | |||||
<!--<PropertyGroup> | |||||
<ApplicationManifest>App.manifest</ApplicationManifest> | <ApplicationManifest>App.manifest</ApplicationManifest> | ||||
</PropertyGroup> | |||||
</PropertyGroup>--> | |||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||||
<DefineConstants>TRACE;Core</DefineConstants> | <DefineConstants>TRACE;Core</DefineConstants> | ||||
</PropertyGroup> | </PropertyGroup> | ||||
@@ -13,9 +13,11 @@ namespace HKCardOUT.QuartzUtil.Job | |||||
{ | { | ||||
default: | default: | ||||
{ | { | ||||
var WaitSync = DbContext.Context.Queryable<SaleLog>().Where(t => t.IsSync == false).ToList(); | var WaitSync = DbContext.Context.Queryable<SaleLog>().Where(t => t.IsSync == false).ToList(); | ||||
if (WaitSync.Count > 0) | if (WaitSync.Count > 0) | ||||
{ | { | ||||
HKLog.HKLogImport.WriteInfo($"订单推送执行,推送数量{WaitSync.Count}"); | |||||
foreach (var input in WaitSync) | foreach (var input in WaitSync) | ||||
{ | { | ||||
var res = RemoteService.SyncSaleLog(input.CardNo, input.Location); | var res = RemoteService.SyncSaleLog(input.CardNo, input.Location); | ||||