|
|
|
@ -284,7 +284,7 @@ namespace Admin.Core.Service
|
|
|
|
|
list.ForEach((a) =>
|
|
|
|
|
{
|
|
|
|
|
Hw_WareHouse_Sub sb = new Hw_WareHouse_Sub();
|
|
|
|
|
sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
//sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
sb.PId = a.PId;
|
|
|
|
|
sb.ProductName = a.ProductName;
|
|
|
|
|
sb.MaterialID = a.Material_Code;
|
|
|
|
@ -492,7 +492,7 @@ namespace Admin.Core.Service
|
|
|
|
|
list.ForEach((a) =>
|
|
|
|
|
{
|
|
|
|
|
Hw_WareHouse_Sub sb = new Hw_WareHouse_Sub();
|
|
|
|
|
sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
//sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
sb.PId = a.PId;
|
|
|
|
|
sb.ProductName = a.ProductName;
|
|
|
|
|
sb.MaterialID = a.Material_Code;
|
|
|
|
@ -685,7 +685,7 @@ namespace Admin.Core.Service
|
|
|
|
|
list.ForEach((a) =>
|
|
|
|
|
{
|
|
|
|
|
Hw_WareHouse_Sub sb = new Hw_WareHouse_Sub();
|
|
|
|
|
sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
//sb.MainId = int.TryParse(a.MainId, out int value) ? value : throw new Exception("MainID格式错误!请传入int类型的反应釜编号");
|
|
|
|
|
sb.PId = a.PId;
|
|
|
|
|
sb.ProductName = a.ProductName;
|
|
|
|
|
sb.BinId = a.BinId == "" || a.BinId == null ? 0 : int.Parse(a.BinId);
|
|
|
|
|