From 3a6f7cb36dff0ec99edddbb53078947fcf08a47e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期六, 19 七月 2025 09:32:15 +0800
Subject: [PATCH] 1.用料清单变更

---
 MES.Service/service/WomcaaManager.cs |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/MES.Service/service/WomcaaManager.cs b/MES.Service/service/WomcaaManager.cs
index c5bc955..cb30102 100644
--- a/MES.Service/service/WomcaaManager.cs
+++ b/MES.Service/service/WomcaaManager.cs
@@ -68,8 +68,24 @@
             .IgnoreColumnsNull()
             .ExecuteCommand() > 0;
 
-        if (orUpdate && baOrUpdate) return true;
+        // if (orUpdate && baOrUpdate) 
+        // throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
+
+        if (orUpdate && baOrUpdate) 
+        {
+            // 璋冪敤瀛樺偍杩囩▼鏇存柊鐢ㄦ枡娓呭崟
+            db.Ado.ExecuteCommand("exec [dbo].[prc_update_womdab] @outMsg output,@outSum output,@inEdtUserGuid,@inCaaGuid",
+                new {
+                    outMsg = (string)null,  // 杈撳嚭鍙傛暟
+                    outSum = (int?)null,     // 杈撳嚭鍙傛暟
+                    inEdtUserGuid = new Guid("11111111-1111-1111-1111-111111111111"),
+                    inCaaGuid = new Guid(mesWomcaa.Guid.ToString())
+                });
+            return true;
+        }
         throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
+        
+
     }
 
     private bool UpdateData(SqlSugarScope db, Womcaa mesWomcaa,

--
Gitblit v1.9.3