修改
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user