From f355af6d5f8a6c8e80ec48b4458e9b33042f198e Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期六, 04 三月 2023 14:39:39 +0800
Subject: [PATCH] 工单派发写入节拍工价复制表

---
 VueWebApi/Controllers/AppDeviceManageController.cs |   52 ++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/VueWebApi/Controllers/AppDeviceManageController.cs b/VueWebApi/Controllers/AppDeviceManageController.cs
index f90b734..3a10f40 100644
--- a/VueWebApi/Controllers/AppDeviceManageController.cs
+++ b/VueWebApi/Controllers/AppDeviceManageController.cs
@@ -36,17 +36,33 @@
         }
         #endregion
 
-        #region[鏃ュ父鐐规,閫夋嫨鎵爜璁惧鍒楄〃甯﹀嚭鐐规椤筣
+        #region[鏃ュ父鐐规,鎵弿宸ヤ綅/璁惧浜岀淮鐮佹煡鎵剧偣妫�鏍囧噯]
         /// <summary>
-        /// 鏃ュ父鐐规,閫夋嫨鎵爜璁惧鍒楄〃甯﹀嚭鐐规椤�
+        /// 鏃ュ父鐐规,鎵弿宸ヤ綅/璁惧浜岀淮鐮佹煡鎵剧偣妫�鏍囧噯
         /// </summary>
         /// <param name="eqpcode">璁惧缂栫爜</param>
         /// <returns></returns>
+        [Route(template: "CheckScanDeviceTemp")]
+        [HttpGet]
+        public HttpResponseMessage CheckScanDeviceTemp(string eqpcode)
+        {
+            mes = AppDeviceManageBLL.CheckScanDeviceTemp(eqpcode);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
+        #region[鏃ュ父鐐规,閫夋嫨鎵爜璁惧銆佺偣妫�鏍囧噯甯﹀嚭鐐规椤筣
+        /// <summary>
+        /// 鏃ュ父鐐规,閫夋嫨鎵爜璁惧銆佺偣妫�鏍囧噯甯﹀嚭鐐规椤�
+        /// </summary>
+        /// <param name="eqpcode">璁惧缂栫爜</param>
+        /// <param name="checktempcode">鐐规鏍囧噯缂栫爜</param>
+        /// <returns></returns>
         [Route(template: "SelectScanDeviceQrCodeItem")]
         [HttpGet]
-        public HttpResponseMessage SelectScanDeviceQrCodeItem(string eqpcode)
+        public HttpResponseMessage SelectScanDeviceQrCodeItem(string eqpcode,string checktempcode)
         {
-            mes = AppDeviceManageBLL.SelectScanDeviceQrCodeItem(eqpcode);
+            mes = AppDeviceManageBLL.SelectScanDeviceQrCodeItem(eqpcode, checktempcode);
             return TJson.toJson(mes);
         }
         #endregion
@@ -83,17 +99,33 @@
         }
         #endregion
 
+        #region[瀹氭湡淇濆吇,鎵弿宸ヤ綅/璁惧浜岀淮鐮佹煡鎵句繚鍏绘爣鍑哴
+        /// <summary>
+        /// 瀹氭湡淇濆吇,鎵弿宸ヤ綅/璁惧浜岀淮鐮佹煡鎵句繚鍏绘爣鍑�
+        /// </summary>
+        /// <param name="eqpcode">璁惧缂栫爜</param>
+        /// <returns></returns>
+        [Route(template: "RepairScanDeviceTemp")]
+        [HttpGet]
+        public HttpResponseMessage RepairScanDeviceTemp(string eqpcode)
+        {
+            mes = AppDeviceManageBLL.RepairScanDeviceTemp(eqpcode);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
         #region[鏃ュ父淇濆吇,閫夋嫨鎵爜璁惧鍒楄〃甯﹀嚭淇濆吇椤筣
         /// <summary>
         /// 鏃ュ父淇濆吇,閫夋嫨鎵爜璁惧鍒楄〃甯﹀嚭淇濆吇椤�
         /// </summary>
         /// <param name="eqpcode">璁惧缂栫爜</param>
+        /// <param name="repartempcode">淇濆吇鏍囧噯缂栫爜</param>
         /// <returns></returns>
         [Route(template: "RepairSelectScanDeviceQrCodeItem")]
         [HttpGet]
-        public HttpResponseMessage RepairSelectScanDeviceQrCodeItem(string eqpcode)
+        public HttpResponseMessage RepairSelectScanDeviceQrCodeItem(string eqpcode,string repartempcode)
         {
-            mes = AppDeviceManageBLL.RepairSelectScanDeviceQrCodeItem(eqpcode);
+            mes = AppDeviceManageBLL.RepairSelectScanDeviceQrCodeItem(eqpcode, repartempcode);
             return TJson.toJson(mes);
         }
         #endregion
@@ -175,7 +207,7 @@
         [HttpPost]
         public HttpResponseMessage RepairScanDeviceSave()
         {
-            string docu_code= HttpContext.Current.Request["docu_code"].ToString();//缁翠慨鐢宠鍗曞彿
+            string docu_code = HttpContext.Current.Request["docu_code"].ToString();//缁翠慨鐢宠鍗曞彿
             string username = HttpContext.Current.Request["username"].ToString();//鎿嶄綔浜哄憳
             string eqpcode = HttpContext.Current.Request["eqpcode"].ToString();//璁惧缂栫爜
             string wkshpcode = HttpContext.Current.Request["wkshpcode"].ToString(); //杞﹂棿缂栫爜
@@ -184,7 +216,7 @@
             string repaircontent = HttpContext.Current.Request["repaircontent"].ToString(); //缁翠慨鍐呭
             string replaceparts = HttpContext.Current.Request["replaceparts"].ToString(); //鏇存崲澶囦欢
             HttpFileCollection files = HttpContext.Current.Request.Files;
-            mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code,username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
+            mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code, username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
             return TJson.toJson(mes);
         }
         #endregion
@@ -214,9 +246,9 @@
         /// <returns></returns>
         [Route(template: "RepairVerificationScanDeviceDataSub")]
         [HttpGet]
-        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode,string wkshpcode)
+        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode, string wkshpcode)
         {
-            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code,eqpcode, wkshpcode);
+            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code, eqpcode, wkshpcode);
             return TJson.toJson(mes);
         }
         #endregion

--
Gitblit v1.9.3