From 54cf93766639d96ed2bdd101440d2ce9f2538e7e Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 12 九月 2023 18:54:44 +0800
Subject: [PATCH] 正清和质量看板接口功能 修改存货查询功能

---
 VueWebApi/Controllers/KanBanManagerentController.cs |   70 ++++++++++++++++++++++------------
 1 files changed, 45 insertions(+), 25 deletions(-)

diff --git a/VueWebApi/Controllers/KanBanManagerentController.cs b/VueWebApi/Controllers/KanBanManagerentController.cs
index 908c0c9..7e1975e 100644
--- a/VueWebApi/Controllers/KanBanManagerentController.cs
+++ b/VueWebApi/Controllers/KanBanManagerentController.cs
@@ -18,9 +18,9 @@
         ToMessage mes = new ToMessage();
         RedisHelper redis = new RedisHelper();
 
-        #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鑾峰彇鐢熶骇杞﹂棿]
+        #region[姝f竻鍜岃溅闂寸湅鏉�,鑾峰彇鐢熶骇杞﹂棿]
         /// <summary>
-        /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鑾峰彇鐢熶骇杞﹂棿
+        /// 姝f竻鍜岃溅闂寸湅鏉�,鑾峰彇鐢熶骇杞﹂棿
         /// </summary>
         /// <returns></returns>
         [Route(template: "ShopSearch")]
@@ -32,9 +32,9 @@
         }
         #endregion
 
-        #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笂浜х嚎鍔犲伐浠诲姟鎺ュ彛]
+        #region[姝f竻鍜岃溅闂寸湅鏉�,宸︿笂浜х嚎鍔犲伐浠诲姟鎺ュ彛]
         /// <summary>
-        /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笂浜х嚎鍔犲伐浠诲姟鎺ュ彛
+        /// 姝f竻鍜岃溅闂寸湅鏉�,宸︿笂浜х嚎鍔犲伐浠诲姟鎺ュ彛
         /// </summary>
         /// <param name="shopcode">杞﹂棿缂栫爜</param>
         /// <returns></returns>
@@ -47,9 +47,9 @@
         }
         #endregion
 
-        #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笅鍒楄〃鎺ュ彛]
+        #region[姝f竻鍜岃溅闂寸湅鏉�,宸︿笅鍒楄〃鎺ュ彛]
         /// <summary>
-        /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笅鍒楄〃鎺ュ彛
+        /// 姝f竻鍜岃溅闂寸湅鏉�,宸︿笅鍒楄〃鎺ュ彛
         /// </summary>
         /// <param name="shopcode">杞﹂棿缂栫爜</param>
         /// <returns></returns>
@@ -62,9 +62,9 @@
         }
         #endregion
 
-        #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笂top鎺掕鎺ュ彛]
+        #region[姝f竻鍜岃溅闂寸湅鏉�,鍙充笂top鎺掕鎺ュ彛]
         /// <summary>
-        /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笂top鎺掕鎺ュ彛
+        /// 姝f竻鍜岃溅闂寸湅鏉�,鍙充笂top鎺掕鎺ュ彛
         /// </summary>
         /// <param name="shopcode">杞﹂棿缂栫爜</param>
         /// <returns></returns>
@@ -77,9 +77,9 @@
         }
         #endregion
 
-        #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛]
+        #region[姝f竻鍜岃溅闂寸湅鏉�,鍙充笅top鎺掕鎺ュ彛]
         /// <summary>
-        /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛
+        /// 姝f竻鍜岃溅闂寸湅鏉�,鍙充笅top鎺掕鎺ュ彛
         /// </summary>
         /// <param name="shopcode">杞﹂棿缂栫爜</param>
         /// <returns></returns>
@@ -94,48 +94,68 @@
 
 
 
-        #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笂鏈湀閲囪喘璁㈠崟鏁般�佹湰鏈堥噰璐繘璐у崟鏁般�佹湰鏈堥噰璐叆搴撳崟鏁癩
+
+        #region[姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,宸︿笂top5涓嶈壇]
         /// <summary>
-        /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笂鏈湀閲囪喘璁㈠崟鏁般�佹湰鏈堥噰璐繘璐у崟鏁般�佹湰鏈堥噰璐叆搴撳崟鏁�
+        /// 姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,宸︿笂top5涓嶈壇
         /// </summary>
+        /// <param name="wkshopcode">杞﹂棿缂栫爜瀛楃涓查泦</param>
         /// <returns></returns>
-        [Route(template: "PurchaseLeftTop")]
+        [Route(template: "QCBadTop")]
         [HttpGet]
-        public HttpResponseMessage PurchaseLeftTop()
+        public HttpResponseMessage QCBadTop(string wkshopcode)
         {
-            mes = KanBanManagerentBLL.PurchaseLeftTop();
+            mes = KanBanManagerentBLL.QCBadTop(wkshopcode);
             return TJson.toJson(mes);
         }
         #endregion
 
-        #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笅閲囪喘璁㈠崟璺熻釜鍒楄〃]
+        #region[姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,宸︿腑鍛ㄤ笉鑹秼鍔縘
         /// <summary>
-        /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笅閲囪喘璁㈠崟璺熻釜鍒楄〃
+        /// 姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,宸︿腑鍛ㄤ笉鑹秼鍔�
         /// </summary>
+        /// <param name="wkshopcode">杞﹂棿缂栫爜瀛楃涓查泦</param>
         /// <returns></returns>
-        [Route(template: "PurchaseLeftBottom")]
+        [Route(template: "QCBadCenterLeftWeek")]
         [HttpGet]
-        public HttpResponseMessage PurchaseLeftBottom()
+        public HttpResponseMessage QCBadCenterLeftWeek(string wkshopcode)
         {
-            mes = KanBanManagerentBLL.PurchaseLeftBottom();
+            mes = KanBanManagerentBLL.QCBadCenterLeftWeek(wkshopcode);
             return TJson.toJson(mes);
         }
         #endregion
 
-        #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,鍙充晶Top]
+        #region[姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,鍙充腑鍛ㄥ畬鎴愭暟/鐜嘳
         /// <summary>
-        /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,鍙充晶Top
+        /// 姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,鍙充腑鍛ㄥ畬鎴愭暟/鐜�
         /// </summary>
+        /// <param name="wkshopcode">杞﹂棿缂栫爜瀛楃涓查泦</param>
         /// <returns></returns>
-        [Route(template: "PurchaseRight")]
+        [Route(template: "QCBadCenterRightWeek")]
         [HttpGet]
-        public HttpResponseMessage PurchaseRight()
+        public HttpResponseMessage QCBadCenterRightWeek(string wkshopcode)
         {
-            mes = KanBanManagerentBLL.PurchaseRight();
+            mes = KanBanManagerentBLL.QCBadCenterRightWeek(wkshopcode);
             return TJson.toJson(mes);
         }
         #endregion
 
+        #region[姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,涓嬩换鍔¤繘搴
+        /// <summary>
+        /// 姝f竻鍜岃溅闂磋川閲忔暟瀛楀寲鐪嬫澘,涓嬩换鍔¤繘搴�
+        /// </summary>
+        /// <param name="wkshopcode">杞﹂棿缂栫爜瀛楃涓查泦</param>
+        /// <returns></returns>
+        [Route(template: "QCBadBottomWeek")]
+        [HttpGet]
+        public HttpResponseMessage QCBadBottomWeek(string wkshopcode)
+        {
+            mes = KanBanManagerentBLL.QCBadBottomWeek(wkshopcode);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
+ 
 
 
         #region[澶у矝浠撳簱鐪嬫澘,宸︿笂浜у搧寰呭叆搴撳垪琛╙

--
Gitblit v1.9.3