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/AppQualityManagementController.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/VueWebApi/Controllers/AppQualityManagementController.cs b/VueWebApi/Controllers/AppQualityManagementController.cs
index 6142892..228d01d 100644
--- a/VueWebApi/Controllers/AppQualityManagementController.cs
+++ b/VueWebApi/Controllers/AppQualityManagementController.cs
@@ -87,14 +87,15 @@
         /// <summary>
         /// 宸ュ簭妫�楠屾壂鐮佽幏鍙栦换鍔′俊鎭�
         /// </summary>
+        /// <param name="stu_torgcode">缁勭粐缂栫爜</param>
         /// <param name="orderstepqrcode">鎵弿宸ュ簭浜岀淮鐮佷俊鎭�</param>
         /// <param name="checktype">妫�楠屾柟寮廎irstCheck锛堥妫�锛� PatroCheck(宸℃)  EndCheck(瀹屽伐妫�)</param>
         /// <returns></returns>
         [Route(template: "StepCheckSearch")]
         [HttpGet]
-        public HttpResponseMessage StepCheckSearch(string orderstepqrcode,string checktype)
+        public HttpResponseMessage StepCheckSearch(string stu_torgcode,string orderstepqrcode,string checktype)
         {
-            mes = ProductionManagementBLL.MesOrderStepCheckSearch(orderstepqrcode, checktype);
+            mes = ProductionManagementBLL.MesOrderStepCheckSearch(stu_torgcode,orderstepqrcode, checktype);
             return TJson.toJson(mes);
         }
         #endregion
@@ -123,6 +124,7 @@
         [HttpPost]
         public HttpResponseMessage SaveStepCheckItem()
         {
+            string stu_torgcode = HttpContext.Current.Request["stu_torgcode"].ToString();//缁勭粐缂栫爜
             string wocode = HttpContext.Current.Request["wocode"].ToString();//宸ュ崟鍙�
             string partcode = HttpContext.Current.Request["partcode"].ToString();//鐗╂枡缂栫爜
             string stepcode = HttpContext.Current.Request["stepcode"].ToString();//宸ュ簭缂栫爜
@@ -136,7 +138,7 @@
             string ngqty = HttpContext.Current.Request["ngqty"].ToString();//涓嶅悎鏍兼暟閲�
             string checkitemcont = HttpContext.Current.Request["checkitemcont"].ToString();//妫�楠岄」鐩暟鎹�
             string username = HttpContext.Current.Request["admin"].ToString();//鎿嶄綔浜哄憳
-            mes = ProductionManagementBLL.SaveMesOrderStepCheckItem(wocode,partcode,stepcode,checkstandcode,check_type,sampmethod,qualitystatus,labqty,sampleqty,goodqty,ngqty,checkitemcont,username);
+            mes = ProductionManagementBLL.SaveMesOrderStepCheckItem(stu_torgcode,wocode, partcode,stepcode,checkstandcode,check_type,sampmethod,qualitystatus,labqty,sampleqty,goodqty,ngqty,checkitemcont,username);
             return TJson.toJson(mes);
         }
         #endregion

--
Gitblit v1.9.3