修改
This commit is contained in:
@@ -16,6 +16,7 @@ namespace NX.ERP.Model.Request
|
|||||||
|
|
||||||
public DateTime? ModifyDate { get; set; }
|
public DateTime? ModifyDate { get; set; }
|
||||||
|
|
||||||
|
public bool? ProxyForeign { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,5 +23,9 @@ namespace NX.ERP.Model
|
|||||||
|
|
||||||
|
|
||||||
public DateTime ModifyDate { get; set; }
|
public DateTime ModifyDate { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public bool ProxyForeign { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ namespace NX.ERP.U8
|
|||||||
cVenAddress AS Address,
|
cVenAddress AS Address,
|
||||||
cVenPhone as ContractPhone,
|
cVenPhone as ContractPhone,
|
||||||
ISNULL(dModifyDate,dVenCreateDatetime) as ModifyDate,
|
ISNULL(dModifyDate,dVenCreateDatetime) as ModifyDate,
|
||||||
|
bProxyForeign as ProxyForeign,
|
||||||
|
|
||||||
cVenPerson AS Contract from Vendor ";
|
cVenPerson AS Contract from Vendor ";
|
||||||
if (!string.IsNullOrEmpty(strWhere))
|
if (!string.IsNullOrEmpty(strWhere))
|
||||||
{
|
{
|
||||||
@@ -51,12 +53,22 @@ namespace NX.ERP.U8
|
|||||||
{
|
{
|
||||||
where.Add(" ISNULL(dModifyDate,dVenCreateDatetime) >= @ModifyDate ");
|
where.Add(" ISNULL(dModifyDate,dVenCreateDatetime) >= @ModifyDate ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Params.ProxyForeign !=null)
|
||||||
|
{
|
||||||
|
|
||||||
|
where.Add(" bProxyForeign=@ProxyForeign ");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return this.GetList(string.Join(" and ", where.ToArray()), new
|
return this.GetList(string.Join(" and ", where.ToArray()), new
|
||||||
{
|
{
|
||||||
SupplierCode = $"%{Params.SupplierCode}%",
|
SupplierCode = $"%{Params.SupplierCode}%",
|
||||||
SupplierName = $"%{Params.SupplierName}%",
|
SupplierName = $"%{Params.SupplierName}%",
|
||||||
Params.ModifyDate
|
Params.ModifyDate,
|
||||||
});
|
Params.ProxyForeign
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-->
|
-->
|
||||||
<configuration>
|
<configuration>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="server" value="10.0.0.12" />
|
<add key="server" value="192.168.1.167" />
|
||||||
<add key="AccId" value="u8-2@001" />
|
<add key="AccId" value="002" />
|
||||||
<add key="UserId" value="wx994" />
|
<add key="UserId" value="wx995" />
|
||||||
<add key="Password" value="1" />
|
<add key="Password" value="1" />
|
||||||
<add key="EaiPort" value="80" />
|
<add key="EaiPort" value="80" />
|
||||||
<add key="EaiPath" value="U8EAI/import.asp" />
|
<add key="EaiPath" value="U8EAI/import.asp" />
|
||||||
|
|||||||
Reference in New Issue
Block a user