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

@@ -16,6 +16,7 @@ namespace NX.ERP.Model.Request
public DateTime? ModifyDate { get; set; }
public bool? ProxyForeign { get; set; }
}
}

View File

@@ -23,5 +23,9 @@ namespace NX.ERP.Model
public DateTime ModifyDate { get; set; }
public bool ProxyForeign { get; set; }
}
}

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

View File

@@ -5,9 +5,9 @@
-->
<configuration>
<appSettings>
<add key="server" value="10.0.0.12" />
<add key="AccId" value="u8-2@001" />
<add key="UserId" value="wx994" />
<add key="server" value="192.168.1.167" />
<add key="AccId" value="002" />
<add key="UserId" value="wx995" />
<add key="Password" value="1" />
<add key="EaiPort" value="80" />
<add key="EaiPath" value="U8EAI/import.asp" />