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; }