This commit is contained in:
gongxh
2021-05-28 09:49:57 +08:00
parent 51e7ee6980
commit 51d8d91bd6
4 changed files with 22 additions and 5 deletions

View File

@@ -22,6 +22,8 @@ namespace NX.ERP.U8
cVenAddress AS Address,
cVenPhone as ContractPhone,
ISNULL(dModifyDate,dVenCreateDatetime) as ModifyDate,
bProxyForeign as ProxyForeign,
cVenPerson AS Contract from Vendor ";
if (!string.IsNullOrEmpty(strWhere))
{
@@ -51,12 +53,22 @@ namespace NX.ERP.U8
{
where.Add(" ISNULL(dModifyDate,dVenCreateDatetime) >= @ModifyDate ");
}
if (Params.ProxyForeign !=null)
{
where.Add(" bProxyForeign=@ProxyForeign ");
}
return this.GetList(string.Join(" and ", where.ToArray()), new
{
SupplierCode = $"%{Params.SupplierCode}%",
SupplierName = $"%{Params.SupplierName}%",
Params.ModifyDate
});
Params.ModifyDate,
Params.ProxyForeign
});
}