From e9213ef40d73ce503127312e96f31f2dcc73e64c Mon Sep 17 00:00:00 2001 From: qian Date: Thu, 14 Dec 2023 17:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8E=E6=95=B0=E6=8D=AE=E5=BA=93=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs | 2 +- 北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs b/北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs index af486ac..c58a525 100644 --- a/北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs +++ b/北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs @@ -138,7 +138,7 @@ namespace CK.SCP.Controller { q = q.Where(p => p.TaxZone.Contains(p_entity.TaxZone)); } - if (p_entity.TaxClass != 0) + if (p_entity.TaxClass != "0") { q = q.Where(p => p.TaxClass == p_entity.TaxClass); } diff --git a/北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs b/北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs index 0c9ae83..11ae33e 100644 --- a/北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs +++ b/北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs @@ -341,7 +341,7 @@ namespace CK.SCP.Models.ExchangeCenterTables public string MiscTax3 { get; set; } public bool TaxInCity { get; set; } public string TaxZone { get; set; } - public int TaxClass { get; set; } + public string TaxClass { get; set; } public string TaxUsage { get; set; } public bool Compens { get; set; } public string GlProfileInvoice { get; set; }