From 6fe3d6fc4e93f4cf31dc02d4f0cbc48d56c249b7 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 30 六月 2023 13:35:23 +0800
Subject: [PATCH] 多车间模式接口过滤

---
 VueWebApi/Controllers/AppAnalyticsController.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/VueWebApi/Controllers/AppAnalyticsController.cs b/VueWebApi/Controllers/AppAnalyticsController.cs
index f10d71a..4e7b9d6 100644
--- a/VueWebApi/Controllers/AppAnalyticsController.cs
+++ b/VueWebApi/Controllers/AppAnalyticsController.cs
@@ -22,13 +22,15 @@
         /// <summary>
         /// App鐢熶骇鐪嬫澘
         /// </summary>
+        /// <param name="stu_torgcode">缁勭粐缂栫爜</param>
+        /// <param name="stu_torgtypecode">缁勭粐绫诲瀷</param>
         /// <param name="usercode">鐧诲綍浜哄憳</param>
         /// <param name="Ratetime">鏃堕棿</param>
         /// <param name="defecttype">缂洪櫡缁熻绫诲瀷</param>
         /// <returns></returns>
         [Route(template: "ProductionKanban")]
         [HttpGet]
-        public HttpResponseMessage ProductionKanban(string usercode, string Ratetime,string defecttype)
+        public HttpResponseMessage ProductionKanban(string stu_torgcode,string stu_torgtypecode,string usercode, string Ratetime,string defecttype)
         {
             string startopendate = "";  //寮�濮嬫椂闂�
             string endclosedate = "";    //缁撴潫鏃堕棿
@@ -37,7 +39,7 @@
                 startopendate = Ratetime.Split('~')[0].ToString();
                 endclosedate = Ratetime.Split('~')[1].ToString();
             }
-            mes = AppAnalyticsBLL.ProductionKanban(usercode, startopendate, endclosedate, defecttype);
+            mes = AppAnalyticsBLL.ProductionKanban(stu_torgcode, stu_torgtypecode,usercode, startopendate, endclosedate, defecttype);
             return TJson.toJson(mes);
         }
         #endregion
@@ -46,13 +48,15 @@
         /// <summary>
         /// App鐢熶骇杩涘害鐪嬫澘鍗曟嵁淇℃伅
         /// </summary>
+        /// <param name="stu_torgcode">缁勭粐缂栫爜</param>
+        /// <param name="stu_torgtypecode">缁勭粐绫诲瀷</param>
         /// <param name="ordertype">鍗曟嵁绫诲瀷(SO:閿�鍞鍗曘�丮O:鐢熶骇璁㈠崟銆丳O:鐢熶骇宸ュ崟)</param>
         /// <param name="partcode">浜у搧淇℃伅(鍙涓�)</param>
         /// <param name="Ratetime">鍗曟嵁鏃ユ湡鑼冨洿</param>
         /// <returns></returns>
         [Route(template: "ProductionScheduleKanban")]
         [HttpGet]
-        public HttpResponseMessage ProductionScheduleKanban(string ordertype, string partcode=null, string Ratetime=null)
+        public HttpResponseMessage ProductionScheduleKanban(string stu_torgcode, string stu_torgtypecode, string ordertype, string partcode=null, string Ratetime=null)
         {
             string startopendate = "";  //寮�濮嬫椂闂�
             string endclosedate = "";    //缁撴潫鏃堕棿
@@ -61,7 +65,7 @@
                 startopendate = Ratetime.Split('~')[0].ToString();
                 endclosedate = Ratetime.Split('~')[1].ToString();
             }
-            mes = AppAnalyticsBLL.ProductionScheduleKanban(ordertype,partcode, startopendate, endclosedate);
+            mes = AppAnalyticsBLL.ProductionScheduleKanban(stu_torgcode, stu_torgtypecode,ordertype, partcode, startopendate, endclosedate);
             return TJson.toJson(mes);
         }
         #endregion

--
Gitblit v1.9.3