From f780704a804361561bb09758f58233ecb620cb82 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期四, 30 四月 2026 14:53:44 +0800
Subject: [PATCH] 修复模具编辑没有存入代码 增加设备产量接口

---
 WebAPI/DLL/ClsSc_MouldRepairCheckBill.cs |   24 ++----------------------
 1 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/WebAPI/DLL/ClsSc_MouldRepairCheckBill.cs b/WebAPI/DLL/ClsSc_MouldRepairCheckBill.cs
index 5d769a1..244e934 100644
--- a/WebAPI/DLL/ClsSc_MouldRepairCheckBill.cs
+++ b/WebAPI/DLL/ClsSc_MouldRepairCheckBill.cs
@@ -63,16 +63,7 @@
                 ",HMainSourceBillNo='" + omodel.HMainSourceBillNo + "'" +
 
                 ",HExplanation='" + omodel.HExplanation + "'" +
-                ",HInnerBillNo='" + omodel.HInnerBillNo + "'" +
-
-                //",HDeptID=" + omodel.HDeptID.ToString() +
-                //",HDeptNumber='" + omodel.HDeptNumber +"'"+
-                //",HEmpID=" + omodel.HEmpID.ToString() +
-                //",HEmpNumber='" + omodel.HEmpNumber +"'"+
-                //",HGroupID=" + omodel.HGroupID.ToString() +
-                //",HWHID=" + omodel.HWHID.ToString() +
-                //",HSCWHID=" + omodel.HSCWHID.ToString() +
-
+                ",HInnerBillNo='" + omodel.HInnerBillNo + "'" +              
                 " where HInterID=" + lngBillKey.ToString());
                 //鍒犻櫎鍏宠仈
                 DeleteRelation(ref sReturn, lngBillKey);
@@ -94,18 +85,7 @@
                       "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() +
                       ") ");
                 }
-                //
-                //foreach (Model.ClsSc_MouldRepairCheckBillSub oSub in DetailColl)
-                //{
-                //    Ds = oCn.RunProcReturn("exec h_p_Sc_MouldRepairCheckBill_Qty " + oSub.HICMOInterID, "");
-                //    if (Ds.Tables[0].Rows.Count == 0)
-                //        return;
-                //    if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y")
-                //    {
-                //        sReturn = "姹囨姤鏁伴噺瓒呰繃璁″垝鏁伴噺锛佷笉鍏佽淇濆瓨";
-                //        return false;
-                //    }
-                //}
+              
                 sReturn = "淇敼鍗曟嵁鎴愬姛锛�";
                 oCn.Commit();
                 return true;

--
Gitblit v1.9.1