From 2718c87679c969055eb8d47120a591286288465f Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期六, 28 二月 2026 11:20:04 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs |   51 +++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs b/WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs
index f588e97..2a9e0d1 100644
--- a/WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs
+++ b/WebAPI/Controllers/JHGL/Gy_MaterialTechParamBillController.cs
@@ -268,7 +268,7 @@
                 List<DataTable> tableList = new List<DataTable>();
 
                 //鏌ョ湅鏉冮檺
-                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Edit", 1, false, User))
+                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Query", 1, false, User))
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
@@ -716,7 +716,7 @@
         }
         #endregion
 
-        #region 瀹夌伅閫愮骇鍛煎彨瑙勫垯  浣滃簾/鍙嶄綔搴�
+        #region 浜у搧宸ヨ壓鍙傛暟娓呭崟鍒楄〃  浣滃簾/鍙嶄綔搴�
         /// <summary>
         /// </summary>
         /// <param name="HInterID">鍗曟嵁ID</param>
@@ -1380,5 +1380,52 @@
         #endregion
         #endregion
 
+        #region 浜у搧宸ヨ壓鍙傛暟娓呭崟 鏇存柊鐩稿悓鐗╂枡+妯″叿鐨勪笂涓嬫爣鍑� 鍊�  浜х敓涓�涓柊鐗堟湰锛岃�佺殑浣滃簾
+        [Route("Gy_MaterialTechParamBill/SaveGy_MaterialTechParamBill_Update")]
+        [HttpGet]
+        public object SaveGy_MaterialTechParamBill_Update(string HInterID, string User)
+        {
+            try
+            {
+                List<DataTable> tableList = new List<DataTable>();
+
+                //鏌ョ湅鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log("Gy_MaterialTechParamBillMain_Edit", 1, false, User))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳洿鏂版潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                if (HInterID == null || HInterID.Equals(""))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("exec h_p_Gy_MaterialTechParamBillMain_Insert  '"+HInterID+"','"+User+"' ", "h_p_Gy_MaterialTechParamBillMain_Insert");
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鏇存柊鎴愬姛";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1