From e7438c176acf8d18c07e1a0946770e0f6cb6fadf Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 21 十一月 2022 15:09:29 +0800
Subject: [PATCH] 灵翔的登陆接口存redis加企业区分

---
 VueWebApi/DLL/DAL/ProductionManagementDAL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
index fd8112f..9bcf340 100644
--- a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
+++ b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
@@ -2521,7 +2521,7 @@
 
                         }
                         //鏄惁鏈亾
-                        if (json[i].last_choke == "Y")
+                       else if (json[i].last_choke == "Y")
                         {
                             decimal this_reportqty = decimal.Parse(json[i].report_qty.ToString()); //鎶ュ伐鏁伴噺(鍚堟牸)
                             decimal this_ngqty = decimal.Parse(json[i].ng_qty.ToString()); //涓嶈壇鏁伴噺
@@ -3033,7 +3033,7 @@
                                 wo_code=json[i].wo_code.ToString(),
                                 step_seq=json[i].step_seq.ToString(),
                                 step_code=json[i].step_code.ToString(),
-                                repair_qty = decimal.Parse(json[i].report_qty),
+                                report_qty = decimal.Parse(json[i].report_qty),
                                 ng_qty = decimal.Parse(json[i].ng_qty),
                                 bad_qty = decimal.Parse(json[i].bad_qty),
                             }

--
Gitblit v1.9.3