添加页面

This commit is contained in:
gongxh
2021-04-30 16:39:20 +08:00
parent e8dff8f15f
commit a3d1e40197
14 changed files with 1182 additions and 174 deletions

View File

@@ -117,7 +117,7 @@ namespace NX.ERP.U8.Pmc
}
public IEnumerable<object> Inventorymom(List<string> invCodes)
public IEnumerable<object> Inventorymom(List<string> moCodes)
{
string sql = $@"
SELECT m..mocode, md.SortSeq, md.InvCode, p.cInvName, p.cInvStd,KK.cComUnitName, md.Qty, md.QualifiedInQty, ma.InvCode invcode1,
@@ -190,12 +190,12 @@ namespace NX.ERP.U8.Pmc
left join ComputationUnit kk WITH (nolock) on p.cComUnitCode=kk.cComunitCode
left join ComputationUnit LL WITH (nolock) on c.cComUnitCode=LL.cComunitCode
WHERE md.Status <> 4 AND ma.Qty - IsNull(ma.IssQty, 0) > 0
and m..mocode in @ins
and m..mocode in @moCodes
order by m.mocode
";
using (var conn = NX.ERP.U8.U8LoginContext.Instance.Connection)
{
return conn.Query<object>(sql, new { ins = invCodes });
return conn.Query<object>(sql, new { moCodes = moCodes });
}
}