From bd14d44a46cd191d0deb15b6f752f9477b818398 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 22 九月 2023 17:53:46 +0800
Subject: [PATCH] 修改车间看板判断条件

---
 VueWebApi/Controllers/SystemSettingController.cs |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 52 insertions(+), 2 deletions(-)

diff --git a/VueWebApi/Controllers/SystemSettingController.cs b/VueWebApi/Controllers/SystemSettingController.cs
index 4c266d6..83029f0 100644
--- a/VueWebApi/Controllers/SystemSettingController.cs
+++ b/VueWebApi/Controllers/SystemSettingController.cs
@@ -14,7 +14,6 @@
 {
     [RoutePrefix(prefix: "api/SystemSetting")]
     [ControllerGroup("绯荤粺璁剧疆", "鍦ㄧ嚎鎺ュ彛")]
-    [ChannelActionFilter]
     public class SystemSettingController : ApiController
     {
         //瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
@@ -64,7 +63,7 @@
         }
         #endregion
 
-        #region[鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮乚
+        #region[鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮�(鍥哄畾)]
         /// <summary>
         /// 鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮�
         /// </summary>
@@ -79,6 +78,24 @@
         }
         #endregion
 
+
+        #region[鐢熸垚绯荤粺鏉$爜(鑷畾涔�)]
+        /// <summary>
+        /// 鐢熸垚绯荤粺鏉$爜(鑷畾涔�)
+        /// </summary>
+        /// <param name="rightcode">鍔熻兘缂栫爜</param>
+        /// <param name="partcode">鐗╂枡缂栫爜</param>
+        /// <param name="qty">鏁伴噺</param>
+        /// <param name="onelabqty">鍗曟爣绛炬暟閲�</param>
+        /// <returns></returns>
+        [Route(template: "LabelBarCode")]
+        [HttpGet]
+        public HttpResponseMessage LabelBarCode(string rightcode, string partcode, string qty, string onelabqty)
+        {
+            mes = SystemSettingBLL.LabelBarCode(rightcode, partcode, qty, onelabqty);
+            return TJson.toJson(mes);
+        }
+        #endregion
 
 
         #region[杞﹂棿鍏憡鍒楄〃]
@@ -142,5 +159,38 @@
             return TJson.toJson(mes);
         }
         #endregion
+
+
+        #region[鑾峰彇鍗曟嵁鍙穄
+        /// <summary>
+        /// 鑾峰彇鍗曟嵁鍙�
+        /// </summary>
+        /// <param name="rightcode">鍔熻兘缂栫爜</param>
+        /// <returns></returns>
+        [Route(template: "NewOrderCodeSearch")]
+        [HttpPost]
+        public HttpResponseMessage NewOrderCodeSearch(string rightcode)
+        {
+            mes = ProductionManagementBLL.ProductInHouseOrderCodeSearch(rightcode);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
+
+        #region[App鐗堟湰鍗囩骇鎺ュ彛]
+        /// <summary>
+        /// App鐗堟湰鍗囩骇鎺ュ彛
+        /// </summary>
+        /// <param name="rid">璁惧id</param>
+        /// <param name="vision">App褰撳墠浣跨敤鐗堟湰鍙�</param>
+        /// <returns></returns>
+        [Route(template: "AppUpgrade")]
+        [HttpPost]
+        public HttpResponseMessage AppUpgrade(string rid, string vision)
+        {
+            mes = SystemSettingBLL.AppUpgrade(rid, vision);
+            return TJson.toJson(mes);
+        }
+        #endregion
     }
 }

--
Gitblit v1.9.3