From 4da6ef31a13bde8e0e4fd96355100e6b04d30010 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Thu, 4 Jan 2024 09:43:18 +0800 Subject: [PATCH] =?UTF-8?q?BBAC=E5=92=8CHPBO=E6=8C=89=E7=85=A7=E5=BA=93?= =?UTF-8?q?=E4=BD=8D=E9=95=BF=E5=BA=A6=E4=BF=AE=E6=94=B9=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/Syncs/JisBBACSeSyncBaseAppService.cs | 8 ++++++++ .../Entities/BQ/Syncs/JisHBPOSeSyncBaseAppService.cs | 8 ++++++++ 2 files changed, 16 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 d20a5bfc..f1a78c77 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 @@ -189,6 +189,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs { t.Version = int.Parse(t.BillTime?.ToString("yyyyMM")); } + if (t.ErpToLoc != null) + { + if (t.ErpToLoc.Length == 4) + { + t.BusinessType = EnumBusinessType.MaiDanJianBBAC; + } + } + t.CreateTime = dateTimeNow; t.CreationTime = dateTimeNow; }); 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 095f0ecb..a98d982d 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 @@ -190,6 +190,14 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs { t.Version = int.Parse(t.BillTime?.ToString("yyyyMM")); } + if(t.ErpToLoc!=null) + { + if (t.ErpToLoc.Length == 4) + { + t.BusinessType = EnumBusinessType.MaiDanJianHBPO; + } + } + t.CreateTime = dateTimeNow; t.CreationTime = dateTimeNow; });