From 55ea36856df391168ea5e4032a47584f95eed593 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 02 一月 2024 17:30:40 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 WebAPI/Service/LuBaoSevice.cs |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Service/LuBaoSevice.cs b/WebAPI/Service/LuBaoSevice.cs
index f35ba15..d5f7b02 100644
--- a/WebAPI/Service/LuBaoSevice.cs
+++ b/WebAPI/Service/LuBaoSevice.cs
@@ -236,7 +236,7 @@
         }
 
         /// <summary>
-        /// 妫�娴嬫柟娉曟牴鎹甶d鑾峰彇淇℃伅
+        /// 妫�楠屾柟娉曟牴鎹甶d鑾峰彇淇℃伅
         /// </summary>
         public static ApiResult<DataSet> GetGy_InspectMethodBillDetail(string HID)
         {
@@ -293,6 +293,25 @@
         }
 
         /// <summary>
+        /// 妫�楠屼緷鎹牴鎹甶d鑾峰彇淇℃伅
+        /// </summary>
+        public static ApiResult<DataSet> GetGy_InspectBasisBillDetail(string HID)
+        {
+            if (string.IsNullOrEmpty(HID))
+                return new ApiResult<DataSet> { code = -1, msg = "ID涓嶈兘涓虹┖" };
+            var dataSet = GetGy_InspectBasisDb(HID);
+            if (dataSet == null || dataSet.Tables[0].Rows.Count == 0)
+                return new ApiResult<DataSet> { code = -1, msg = "涓嶅瓨鍦ㄦ楠屼緷鎹暟鎹�" };
+            return new ApiResult<DataSet> { code = 1, msg = "鏌ヨ鎴愬姛", data = dataSet };
+        }
+        public static DataSet GetGy_InspectBasisDb(string HID)
+        {
+            SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+            var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Gy_InspectBasis  where HItemID= " + HID + " ", "h_v_Gy_InspectBasis");
+            return dataSet;
+        }
+
+        /// <summary>
         /// 璁¢噺鍗曚綅鏍规嵁id鑾峰彇淇℃伅
         /// </summary>
         public static ApiResult<DataSet> GetGy_UnitBillDetail(string HID)

--
Gitblit v1.9.1