修改更新接口

This commit is contained in:
gongxh
2021-06-04 11:22:42 +08:00
parent 1f55b28602
commit 0644817c17
26 changed files with 174 additions and 64 deletions

View File

@@ -324,7 +324,7 @@ namespace NX.ERP.U8
bProxyForeign AS ProxyForeign,
CONVERT(BIGINT,pubufts) as pubufts,
cDTAQL AS Aql
@@ -339,6 +339,17 @@ namespace NX.ERP.U8
}
public IEnumerable<Material> GetList(long Pubufts)
{
return this.GetList("CONVERT(BIGINT,pubufts) > @Pubufts", new { Pubufts });
}
public Material GetModel(string Code)
{
return this.GetList(" cInvCode=@Code ", new { Code }).FirstOrDefault();