添加供应商接口
This commit is contained in:
@@ -376,7 +376,7 @@ namespace NX.ERP.U8
|
||||
|
||||
if (Material.ModifyDate != null)
|
||||
{
|
||||
where.Add(" dModifyDate >= @ModifyDate ");
|
||||
where.Add(" ISNULL(dModifyDate,dVenCreateDatetime) >= @ModifyDate ");
|
||||
}
|
||||
|
||||
return this.GetList(string.Join(" and ", where.ToArray()), new
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace NX.ERP.U8
|
||||
cVenPostCode AS PostalCode,
|
||||
cVenAddress AS Address,
|
||||
cVenPhone as ContractPhone,
|
||||
ISNULL(dModifyDate,dVenCreateDatetime) as ModifyDate,
|
||||
cVenPerson AS Contract from Vendor ";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
@@ -45,10 +46,16 @@ namespace NX.ERP.U8
|
||||
where.Add(" cVenName like @SupplierName ");
|
||||
}
|
||||
|
||||
|
||||
if (Params.ModifyDate != null)
|
||||
{
|
||||
where.Add(" ISNULL(dModifyDate,dVenCreateDatetime) >= @ModifyDate ");
|
||||
}
|
||||
return this.GetList(string.Join(" and ", where.ToArray()), new
|
||||
{
|
||||
SupplierCode = $"%{Params.SupplierCode}%",
|
||||
SupplierName = $"%{Params.SupplierName}%"
|
||||
SupplierName = $"%{Params.SupplierName}%",
|
||||
Params.ModifyDate
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user