From 3c6822e59322c2992ca0504e137ec57b7a62146f Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期一, 07 二月 2022 23:23:43 +0800
Subject: [PATCH] nothing

---
 WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs b/WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs
index 14b7936..1b8f096 100644
--- a/WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs
+++ b/WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs
@@ -146,11 +146,10 @@
                                     ",getdate(),getdate(),'杩斿伐璁″垝','"+omodel.HICMOInterID + "','"+omodel.HSourceEntryID+"','"+omodel.HSourceBillNo+"'" +
                                     ",'"+omodel.HSourceBillType+"','0','0','"+omodel.HProcID+"'" +
                                     "from Sc_ICMOBillStatus_Tmp where HSourceBillNo='"+omodel.HSourceBillNo.ToString()+"'" +
-                                    " and HSourceInterID='"+omodel.HICMOInterID+"' and HSourceEntryID='"+omodel.HSourceEntryID.ToString()+"'" +
-                                    " and HSourceID='"+omodel.HSourceID.ToString()+"'");
-                //Log.LogInfo(sql1);
-                oCn.RunProc(sql1);
-                sReturn = omodel.HInterID.ToString();
+                                    " and HSourceInterID='"+omodel.HSourceInterID+"' and HSourceEntryID='"+omodel.HMainSourceEntryID.ToString()+"'" +
+                                    " and HSourceID='"+omodel.HSourceID.ToString()+"' and HProcID='"+omodel.HProcID.ToString()+"'");
+                oCn.RunProc(sql);
+                sReturn = "鏂板鍗曟嵁鎴愬姛锛�";
                 oCn.Commit();
                 return true;
             }

--
Gitblit v1.9.1