From 2f48267f8b9b7ffa912933f651add73da35fe15f Mon Sep 17 00:00:00 2001
From: zyf <1071160500@qq.com>
Date: 星期三, 07 五月 2025 09:37:17 +0800
Subject: [PATCH] 销售订单插入bug修复

---
 MESApplication/bin/Debug/net8.0/MESApplication.pdb          |    0 
 MESApplication/bin/Debug/net8.0/MESApplication.deps.json    |    5 +----
 MESApplication/bin/Debug/net8.0/MESApplication.exe          |    0 
 MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs |   10 ++++++++--
 MESApplication/bin/Debug/net8.0/MES.Service.pdb             |    0 
 MESApplication/bin/Debug/net8.0/MESApplication.dll          |    0 
 MES.Service/bin/Debug/net8.0/MES.Service.dll                |    0 
 MESApplication/bin/Debug/net8.0/MES.Service.dll             |    0 
 MES.Service/bin/Debug/net8.0/MES.Service.pdb                |    0 
 9 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/MES.Service/bin/Debug/net8.0/MES.Service.dll b/MES.Service/bin/Debug/net8.0/MES.Service.dll
index e6d58b7..fd23116 100644
--- a/MES.Service/bin/Debug/net8.0/MES.Service.dll
+++ b/MES.Service/bin/Debug/net8.0/MES.Service.dll
Binary files differ
diff --git a/MES.Service/bin/Debug/net8.0/MES.Service.pdb b/MES.Service/bin/Debug/net8.0/MES.Service.pdb
index 9697253..ab8cbd0 100644
--- a/MES.Service/bin/Debug/net8.0/MES.Service.pdb
+++ b/MES.Service/bin/Debug/net8.0/MES.Service.pdb
Binary files differ
diff --git a/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs b/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
index 2c41c13..4579a29 100644
--- a/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
+++ b/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
@@ -70,8 +70,14 @@
                     .Where(s => s.ErpHeadId == mesSalesDelivery.ErpId).ExecuteCommand();
 
             var orUpdate = base.Insert(mesSalesDelivery);
-            var baOrUpdate = _SalesDeliveryDetailManager.InsertRange(mesSalesDeliveryDatas);
-            if (orUpdate && baOrUpdate) return true;
+            //var baOrUpdate = _SalesDeliveryDetailManager.InsertRange(mesSalesDeliveryDatas);
+            foreach (var item in mesSalesDeliveryDatas)
+            {
+                _SalesDeliveryDetailManager.Insert(item);
+            }
+
+            //if (orUpdate && baOrUpdate) return true;
+            return orUpdate;
 
 
             throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
diff --git a/MESApplication/bin/Debug/net8.0/MES.Service.dll b/MESApplication/bin/Debug/net8.0/MES.Service.dll
index e6d58b7..fd23116 100644
--- a/MESApplication/bin/Debug/net8.0/MES.Service.dll
+++ b/MESApplication/bin/Debug/net8.0/MES.Service.dll
Binary files differ
diff --git a/MESApplication/bin/Debug/net8.0/MES.Service.pdb b/MESApplication/bin/Debug/net8.0/MES.Service.pdb
index 9697253..ab8cbd0 100644
--- a/MESApplication/bin/Debug/net8.0/MES.Service.pdb
+++ b/MESApplication/bin/Debug/net8.0/MES.Service.pdb
Binary files differ
diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.deps.json b/MESApplication/bin/Debug/net8.0/MESApplication.deps.json
index 1130aca..a29ce54 100644
--- a/MESApplication/bin/Debug/net8.0/MESApplication.deps.json
+++ b/MESApplication/bin/Debug/net8.0/MESApplication.deps.json
@@ -1629,10 +1629,7 @@
           "SqlSugarCore": "5.1.4.169"
         },
         "runtime": {
-          "MES.Service.dll": {
-            "assemblyVersion": "1.0.0",
-            "fileVersion": "1.0.0.0"
-          }
+          "MES.Service.dll": {}
         }
       },
       "Kingdee.CDP.WebApi.SDK/8.0.6.0": {
diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.dll b/MESApplication/bin/Debug/net8.0/MESApplication.dll
index 74a3155..823ab65 100644
--- a/MESApplication/bin/Debug/net8.0/MESApplication.dll
+++ b/MESApplication/bin/Debug/net8.0/MESApplication.dll
Binary files differ
diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.exe b/MESApplication/bin/Debug/net8.0/MESApplication.exe
index 9fcb3c1..15ae530 100644
--- a/MESApplication/bin/Debug/net8.0/MESApplication.exe
+++ b/MESApplication/bin/Debug/net8.0/MESApplication.exe
Binary files differ
diff --git a/MESApplication/bin/Debug/net8.0/MESApplication.pdb b/MESApplication/bin/Debug/net8.0/MESApplication.pdb
index 378d4c9..34f2888 100644
--- a/MESApplication/bin/Debug/net8.0/MESApplication.pdb
+++ b/MESApplication/bin/Debug/net8.0/MESApplication.pdb
Binary files differ

--
Gitblit v1.9.3