From b98df034707a61fd2857dbccd5a232605076ca59 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:26:08 +0800
Subject: [PATCH] 标准版初始化

---
 WebApi/Gs.Ww/WWBlManager.cs |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/WebApi/Gs.Ww/WWBlManager.cs b/WebApi/Gs.Ww/WWBlManager.cs
index 4c67cf2..3bbdc7f 100644
--- a/WebApi/Gs.Ww/WWBlManager.cs
+++ b/WebApi/Gs.Ww/WWBlManager.cs
@@ -117,8 +117,8 @@
                     m = dr.RowToDynamic();
                     var _tb = dset.Tables[1].TableToDynamicList();
                     m.list = _tb;
-                    var _tb2 = dset.Tables[2].TableToDynamicList();
-                    m.list2 = _tb2;
+                    //var _tb2 = dset.Tables[2].TableToDynamicList();
+                    //m.list2 = _tb2;
                 }
             }
             catch (Exception ex)
@@ -196,11 +196,10 @@
         public ReturnDto<ExpandoObject> EditModel([FromBody] dynamic model)
         {
             Guid? guid = model.guid; //涓婚敭
-            string inOrgId = model.inOrgId; //
-            string inGdId = model.inGdId; //宸ュ崟鍙� 
-            string inCkId = model.inCkId;//浠撳簱
             string inYy = model.inYy;//鍘熷洜
             string inType=model.inType;////鍑哄簱绫诲埆
+            string inOrgId = model.inOrgId;////鍑哄簱绫诲埆
+            string inWwGys = model.inWwGys;////鍑哄簱绫诲埆
             var _sb = new StringBuilder();
             var _split = "|";
             foreach (var m in model.list)
@@ -235,12 +234,11 @@
                         new("@outGuid", SqlDbType.UniqueIdentifier),
                         new("@outNo", SqlDbType.NVarChar, 300),
                         new("@inOrderGuid",UtilityHelper.CheckGuid(guid)? guid : DBNull.Value),
-                        new("@inOrgId", inOrgId),
-                        new("@inCkId", inCkId),
-                        new("@inGdId", inGdId),
                         new("@inYy", inYy),
                         new("@inType",inType),
                         new("@inEdtUserGuid", _userGuid),
+                        new("@inOrgId", inOrgId),
+                        new("@inWwGys", inWwGys),
                         new("@inLineList", _sb.ToString())
                     };
                         parameters[0].Direction = ParameterDirection.Output;
@@ -258,7 +256,7 @@
                     catch (Exception ex)
                     {
                         LogHelper.Debug(ToString(),
-                            "prc_BL_edt error锛�" + ex.Message);
+                            "prc_ww_BL_edt error锛�" + ex.Message);
                         mObj.outMsg = ex.Message;
                         mObj.outSum = -1;
                     }
@@ -282,7 +280,7 @@
         public ReturnDto<int?> DeleteModelOrMx([FromBody] dynamic model)
         {
             int? rtnInt = (int)ReturnCode.Default;
-            Guid? guid = model.guid; //鍒拌揣鍗曚富閿�
+            Guid? guid = model.guid;
             string mxGuid = model.mxGuid;
             var _outMsg = "";
             var _outSum = -1;
@@ -317,7 +315,7 @@
                     catch (Exception ex)
                     {
                         LogHelper.Debug(ToString(),
-                            "prc_cgdhd_Edt error锛�" + ex.Message);
+                            "prc_ww_BL_del error锛�" + ex.Message);
                         _outMsg = ex.Message;
                         _outSum = -1;
                     }

--
Gitblit v1.9.3