From f1deb7b024e17cba204de5fcb0dac15801436b90 Mon Sep 17 00:00:00 2001 From: sjz <1240968267@qq.com> Date: 星期一, 28 七月 2025 20:56:41 +0800 Subject: [PATCH] 多组织修改 --- MES.Service/service/BasicData/MesRohInManager.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/MES.Service/service/BasicData/MesRohInManager.cs b/MES.Service/service/BasicData/MesRohInManager.cs index 9b395ea..ec95218 100644 --- a/MES.Service/service/BasicData/MesRohInManager.cs +++ b/MES.Service/service/BasicData/MesRohInManager.cs @@ -12,7 +12,8 @@ { var rohInErpRohIn = rohIn.ErpRohIn; var mesRohIn = GetMesRohIn(rohInErpRohIn); - var mesRohInDatas = GetMesRohInDatas(rohIn.ErpRohinDatas, rohInErpRohIn.Type); + var mesRohInDatas = + GetMesRohInDatas(rohIn.ErpRohinDatas, rohInErpRohIn.Type); return UseTransaction(db => { @@ -60,7 +61,10 @@ } var orUpdate = base.Insert(mesRohIn); var baOrUpdate = rohInDataManager.InsertRange(mesRohInDatas); - if (orUpdate && baOrUpdate) return true; + if (orUpdate && baOrUpdate) + { + return true; + } throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�"); } @@ -134,7 +138,7 @@ EbelnK3id = Convert.ToDecimal(s.id), ErpId = Convert.ToDecimal(s.Eid), BillNo = s.FBillNo, - OrderLineId=s.FSeq, + OrderLineId = s.FSeq, PurchaseOrderLineNumber = s.FSeq, SalesOrderId = s.FXSHTH, ItemId = s.FMaterialId, -- Gitblit v1.9.3