Browse Source

与数据库类型保持一致

master
qian 11 months ago
parent
commit
e9213ef40d
  1. 2
      北京北汽/Controller/EC_CONTROLLER_SUPPLIER.cs
  2. 2
      北京北汽/Models/ExchangeCenterTables/TES_SUPPLIER.cs

2
北京北汽/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);
}

2
北京北汽/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; }

Loading…
Cancel
Save