From 71e5f5614c403ed7cda5de7bc5f25e026c1f8f93 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期一, 10 三月 2025 19:17:44 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs b/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs index 8bc97a1..132944d 100644 --- a/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs +++ b/WebAPI/DLL/ClsSb_EquipMaintainRuleBill.cs @@ -55,6 +55,10 @@ ",HCheckCycle=" + omodel.HCheckCycle.ToString() + ",HExplanation='" + omodel.HExplanation + "'" + ",HInnerBillNo='" + omodel.HInnerBillNo + "'" + + ",HMaintainLevID=" + omodel.HMaintainLevID + + ",HSafeDays=" + omodel.HSafeDays + + ",HErrWarDays=" + omodel.HErrWarDays + + ",HStandard=" + Convert.ToString(omodel.HStandard ? 1 : 0) + " where HInterID=" + lngBillKey.ToString()); //鍒犻櫎鍏宠仈 DeleteRelation(ref sReturn, lngBillKey); @@ -120,12 +124,12 @@ oCn.RunProc("Insert Into Sb_EquipMaintainRuleBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HDate,HMaker,HMakeDate" + ",HYear,HPeriod,HRemark" + - ",HCheckCycle,HCycleUnit,HExplanation,HInnerBillNo" + + ",HCheckCycle,HCycleUnit,HExplanation,HInnerBillNo,HMaintainLevID,HSafeDays,HErrWarDays,HStandard" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "','" + omodel.HMaker + "',getdate()" + "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + - "',"+ omodel.HCheckCycle.ToString() + ",'" + omodel.HCycleUnit + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + - "') "); + "',"+ omodel.HCheckCycle.ToString() + ",'" + omodel.HCycleUnit + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + omodel.HMaintainLevID + "," + omodel.HSafeDays + "," + omodel.HErrWarDays + ", " + Convert.ToString(omodel.HStandard ? 1 : 0) + + ") "); //鎻掑叆淇濆吇椤瑰瓙琛� foreach (Models.ClsSb_EquipMaintainRuleBillSub_Item Item in DetailColl_Pay) -- Gitblit v1.9.1