From 962cd28874daeed552d787cb5cb0545658f6ba61 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期一, 27 十二月 2021 21:05:49 +0800
Subject: [PATCH] nothing

---
 WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
index 0541d52..c58cd4d 100644
--- a/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
+++ b/WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
@@ -78,7 +78,6 @@
                 string sql = sql1 + sWhere+ "order by 鏃ユ湡 desc";
                 return new SQLHelper.ClsCN().RunProcReturn(sql, "h_v_Sc_MouldProdInHouseBillList");
             }
-
         }
 
         #endregion
@@ -480,6 +479,7 @@
 
             string UserName = "";
             string s = "";
+            long mouldid;
             ListModels oListModels = new ListModels();
             try
             {
@@ -595,7 +595,7 @@
 
                     i++;
                     oItemSub.HEntryID = i;
-
+                    mouldid = oItemSub.HMaterID;
                     //oItemSub.HRepairCheckID = 0;   //楠屾敹椤圭洰ID
                     //oItemSub.HRepairCheckContent = ""; //楠屾敹鍐呭
                     //oItemSub.HManagerID = 0;   //璐熻矗浜篒D
@@ -629,6 +629,8 @@
                 }
                 if (bResult)
                 {
+                    string sql = $"exec h_p_Sc_MouldChangeFileStatus  'in','{oBill.omodel.HInterID.ToString()}' ";
+                    oCn.RunProc(sql);
                     objJsonResult.code = "0";
                     objJsonResult.count = 1;
                     objJsonResult.Message = "淇濆瓨鎴愬姛锛�";

--
Gitblit v1.9.1