From a19e37f2347e6b82108e8f771f8ed118fced909b Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Wed, 22 May 2024 09:22:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9MatchNumber=E5=8F=96=E5=80=BC?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs | 7 +++++++ .../Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs index b6663334..01faa33d 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs +++ b/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(); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs index 74ec1fd8..0e21c57d 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs +++ b/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();