Browse Source

修改MatchNumber取值逻辑

master
zhouhongjun 6 months ago
parent
commit
a19e37f234
  1. 7
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs
  2. 7
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs

7
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs

@ -201,6 +201,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
t.CreateTime = dateTimeNow;
t.CreationTime = dateTimeNow;
//如果MatchNumber为空,取MESConfigCode字段,MESConfigCode为老虚拟总成号
if (string.IsNullOrEmpty(t.MatchNumber))
{
t.MatchNumber = t.MESConfigCode;
}
});
var syncPosition = seDetails.Last().UID.ToString();

7
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs

@ -201,6 +201,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
t.CreateTime = dateTimeNow;
t.CreationTime = dateTimeNow;
//如果MatchNumber为空,取MESConfigCode字段,MESConfigCode为老虚拟总成号
if(string.IsNullOrEmpty(t.MatchNumber))
{
t.MatchNumber = t.MESConfigCode;
}
});
var syncPosition = seDetails.Last().UID.ToString();

Loading…
Cancel
Save