修改物料需求API

This commit is contained in:
admin
2021-01-22 15:15:43 +08:00
parent e3faf6404a
commit 0fa199a0a5

View File

@@ -150,6 +150,10 @@ namespace NX.ERP.U8.Mom
from mom_order as a from mom_order as a
left join mom_orderdetail as b on a.MoId=b.MoId left join mom_orderdetail as b on a.MoId=b.MoId
left join mom_moallocate as c on b.MoDId=c.MoDId "; left join mom_moallocate as c on b.MoDId=c.MoDId ";
if (!string.IsNullOrEmpty(strWhere))
{
strSql += $" where {strWhere} ";
}
var lookup = new Dictionary<int, Model.MOM.MomDetail>(); var lookup = new Dictionary<int, Model.MOM.MomDetail>();
using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net)) using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net))
{ {