补料查询表

This commit is contained in:
杰 朱
2021-05-13 14:29:58 +08:00
parent 2a1985c7cf
commit ad1acf6c13
10 changed files with 294 additions and 6 deletions

View File

@@ -419,14 +419,31 @@ namespace NX.ERP.U8.Pmc
}
}
public IEnumerable<object> Inventorybu(NX.ERP.Model.Request.Inventoryall info1)
public IEnumerable<object> Inventorybu(NX.ERP.Model.Request.Inventorybu info1)
{
using (var conn = NX.ERP.U8.U8LoginContext.Instance.Connection)
{
DynamicParameters sp = new DynamicParameters(info1);
var sql = $@"Usp_BO_ExpandByParent_BU_20210208 ";
string sql;
if (info1.outycl == true && info1.outbcp == true)
{
sql = $@"Usp_BO_ExpandByParent_BU_20210513_4 ";
}
else if (info1.outycl == true && info1.outbcp == false)
{
sql = $@"Usp_BO_ExpandByParent_BU_20210513_1 ";
}
else if (info1.outycl == false && info1.outbcp == true)
{
sql = $@"Usp_BO_ExpandByParent_BU_20210513_3 ";
}
else
{
sql = $@" Usp_BO_ExpandByParent_BU_20210513 ";
}
//var sql = $@"Usp_BO_ExpandByParent_BU_20210208 ";
foreach (var item in info1.inumsc)
{