From 0a667f1827405b9190f7dd0c242126c6f62e6448 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期三, 26 二月 2025 10:32:11 +0800 Subject: [PATCH] 1 --- WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs b/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs index 7d74108..5069766 100644 --- a/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs +++ b/WebAPI/DLL/ClsSb_EquipDotCheckRuleBill.cs @@ -43,6 +43,7 @@ ",HCheckCycle='" + omodel.HCheckCycle + "'" + ",HExplanation='" + omodel.HExplanation + "'" + ",HInnerBillNo='" + omodel.HInnerBillNo + "'" + + ",HStandard='" + Convert.ToString(omodel.HStandard ? 1 : 0) + "'" + " where HInterID=" + lngBillKey.ToString()); //鍒犻櫎鍏宠仈 DeleteRelation(ref sReturn, lngBillKey); @@ -90,11 +91,11 @@ oCn.RunProc("Insert Into Sb_EquipDotCheckRuleBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HDate,HMaker,HMakeDate" + ",HYear,HPeriod,HRemark" + - ",HBeginDate,HEndDate,HCycleUnit,HCheckCycle,HExplanation,HInnerBillNo" + + ",HBeginDate,HEndDate,HCycleUnit,HCheckCycle,HExplanation,HInnerBillNo,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.HBeginDate + "','" + omodel.HEndDate + "','" + omodel.HCycleUnit+ "','" + omodel.HCheckCycle + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'" + + "'" + omodel.HBeginDate + "','" + omodel.HEndDate + "','" + omodel.HCycleUnit+ "','" + omodel.HCheckCycle + "','" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "','" + Convert.ToString(omodel.HStandard ? 1 : 0) + "'" + ") "); //鎻掑叆瀛愯〃 foreach (Models.ClsSb_EquipDotCheckRuleBillSub oSub in DetailColl_Mater) -- Gitblit v1.9.1