From 1edfe1a0900aef841baf42d77b61db2866577b1c Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 02 十二月 2022 09:16:30 +0800
Subject: [PATCH] 首道收料减去不良

---
 VueWebApi/Controllers/AppDeviceManageController.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/VueWebApi/Controllers/AppDeviceManageController.cs b/VueWebApi/Controllers/AppDeviceManageController.cs
index e09050f..935337c 100644
--- a/VueWebApi/Controllers/AppDeviceManageController.cs
+++ b/VueWebApi/Controllers/AppDeviceManageController.cs
@@ -174,6 +174,7 @@
         [HttpPost]
         public HttpResponseMessage RepairScanDeviceSave()
         {
+            string docu_code = HttpContext.Current.Request["docu_code"].ToString();//缁翠慨鐢宠鍗曞彿
             string username = HttpContext.Current.Request["username"].ToString();//鎿嶄綔浜哄憳
             string eqpcode = HttpContext.Current.Request["eqpcode"].ToString();//璁惧缂栫爜
             string wkshpcode = HttpContext.Current.Request["wkshpcode"].ToString(); //杞﹂棿缂栫爜
@@ -182,7 +183,7 @@
             string repaircontent = HttpContext.Current.Request["repaircontent"].ToString(); //缁翠慨鍐呭
             string replaceparts = HttpContext.Current.Request["replaceparts"].ToString(); //鏇存崲澶囦欢
             HttpFileCollection files = HttpContext.Current.Request.Files;
-            mes = AppDeviceManageBLL.RepairScanDeviceSave(username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
+            mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code, username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
             return TJson.toJson(mes);
         }
         #endregion
@@ -206,14 +207,15 @@
         /// <summary>
         /// 缁翠慨楠岃瘉璇︽儏淇℃伅
         /// </summary>
+        /// <param name="repair_code">缁翠慨鍗曞彿</param>
         /// <param name="eqpcode">璁惧缂栫爜</param>
         /// <param name="wkshpcode">杞﹂棿缂栫爜</param>
         /// <returns></returns>
         [Route(template: "RepairVerificationScanDeviceDataSub")]
         [HttpGet]
-        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string eqpcode,string wkshpcode)
+        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode, string wkshpcode)
         {
-            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(eqpcode,wkshpcode);
+            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code, eqpcode, wkshpcode);
             return TJson.toJson(mes);
         }
         #endregion
@@ -286,7 +288,6 @@
             return TJson.toJson(mes);
         }
         #endregion
-
 
 
 

--
Gitblit v1.9.3