From 654f5f9d8b9d7b600cd9d763fba8aa242a562129 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 27 二月 2023 13:58:02 +0800
Subject: [PATCH] nothing

---
 VueWebApi/Controllers/AppDeviceManageController.cs |   46 +++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 39 insertions(+), 7 deletions(-)

diff --git a/VueWebApi/Controllers/AppDeviceManageController.cs b/VueWebApi/Controllers/AppDeviceManageController.cs
index 1196265..3a10f40 100644
--- a/VueWebApi/Controllers/AppDeviceManageController.cs
+++ b/VueWebApi/Controllers/AppDeviceManageController.cs
@@ -14,7 +14,7 @@
 {
     [RoutePrefix(prefix: "api/AppDeviceManage")]
     [ControllerGroup("App璁惧绠$悊", "鍦ㄧ嚎鎺ュ彛")]
-    //[ChannelActionFilterAttributeApp]
+    [ChannelActionFilterAttributeApp]
     public class AppDeviceManageController : ApiController
     {
         //瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
@@ -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

--
Gitblit v1.9.3