From aa507c83dbc97017336aecb754ebcb4ce06de826 Mon Sep 17 00:00:00 2001 From: zhaoxinyu <89237069@qq.com> Date: Mon, 12 Aug 2024 17:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SettleAccountHttpApiHostModule.cs | 1 - .../Entities/BQ/INVOICE_SERVICE.cs | 12 ++++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs index f0b9b321..f98c41c3 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccountHttpApiHostModule.cs @@ -158,7 +158,6 @@ namespace Win.Sfs.SettleAccount { options.ValueLengthLimit = int.MaxValue; options.MultipartBodyLengthLimit = int.MaxValue; - options.MultipartHeadersLengthLimit = int.MaxValue; }); } diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs index c272e5a5..b5611605 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs @@ -1411,8 +1411,16 @@ namespace Win.Sfs.SettleAccount.Entities.BQ { if (first.BusinessType == EnumBusinessType.ZhiGongJianBBAC) { - jitunsettle = jitunsettle.Where(p => p.State == "可结算").ToList(); - _excel.Append(jitunsettle, "未结零件汇总"); + if (first.InvGroupNum.Contains('N')) + { + jitunsettle = jitunsettle.Where(p => p.State == "可结算").ToList(); + _excel.Append(jitunsettle, "未结零件汇总"); + } + else + { + + _excel.Append(jitunsettle, "未结零件汇总"); + } } else {