From 2202cf060512350e6a328aad3f40f38dbdbf85ae Mon Sep 17 00:00:00 2001 From: yuyubo <1870149533@qq.com> Date: Sat, 14 Jun 2025 15:33:52 +0800 Subject: [PATCH] 11 --- .../InvoiceOrder/InvoiceOrderService.cs | 3 ++- MyCode.Project.WebApi/Web.config | 16 ++++++---------- 正式金蝶环境.txt | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/MyCode.Project.Services/Implementation/InvoiceOrder/InvoiceOrderService.cs b/MyCode.Project.Services/Implementation/InvoiceOrder/InvoiceOrderService.cs index 39da752..a2194df 100644 --- a/MyCode.Project.Services/Implementation/InvoiceOrder/InvoiceOrderService.cs +++ b/MyCode.Project.Services/Implementation/InvoiceOrder/InvoiceOrderService.cs @@ -217,7 +217,8 @@ namespace MyCode.Project.Services.Implementation oldItem.Fid = item["FID"]; oldItem.MSSSupplierLot = item["FLot.fname"]; oldItem.EntityId = item["FDetailEntity.FEntryId"]; - + if(oldItem.EntityId==null) + oldItem.EntityId = item["FDetailEntity_FEntryId"]; } diff --git a/MyCode.Project.WebApi/Web.config b/MyCode.Project.WebApi/Web.config index b6e8664..6e8c700 100644 --- a/MyCode.Project.WebApi/Web.config +++ b/MyCode.Project.WebApi/Web.config @@ -31,13 +31,12 @@ - - + - + @@ -49,11 +48,11 @@ - + - + @@ -62,13 +61,10 @@ - - - - - + + diff --git a/正式金蝶环境.txt b/正式金蝶环境.txt index f11d175..fe01733 100644 --- a/正式金蝶环境.txt +++ b/正式金蝶环境.txt @@ -35,4 +35,4 @@ - \ No newline at end of file + \ No newline at end of file