From ffb0cd876d79a24cbf565f60452816f7131b83ef Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期四, 25 十一月 2021 14:14:38 +0800 Subject: [PATCH] 禁用登录时组织过滤 --- WebAPI/DLL/ClsSb_EquipRepairWorkBill.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WebAPI/DLL/ClsSb_EquipRepairWorkBill.cs b/WebAPI/DLL/ClsSb_EquipRepairWorkBill.cs index 30edd5d..7d16ea0 100644 --- a/WebAPI/DLL/ClsSb_EquipRepairWorkBill.cs +++ b/WebAPI/DLL/ClsSb_EquipRepairWorkBill.cs @@ -61,6 +61,9 @@ ",HExplanation='" + omodel.HExplanation + "'" + ",HInnerBillNo='" + omodel.HInnerBillNo + "'" + ",HRepairContent='" + omodel.HRepairContent + "'" + + ",HMainSourceBillType='"+ omodel.HMainSourceBillType+"'"+ + ",HMainSourceInterID="+ omodel.HMainSourceInterID.ToString()+ + ",HMainSourceEntryID="+ omodel.HMainSourceEntryID.ToString()+ ",HCycleUnit='" + omodel.HCycleUnit + "'" + " where HInterID=" + lngBillKey.ToString()); @@ -120,12 +123,13 @@ "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + ",HYear,HPeriod,HRemark,HMaker,HMakeDate" + ",HEquipID,HRepairID,HPlanTimes,HEmpID,HManagerID,HTimes" + - ",HDeptID,HExplanation,HInnerBillNo,HRepairBeginDate,HRepairEndDate,HRepairContent,HCycleUnit" + + ",HDeptID,HExplanation,HInnerBillNo,HRepairBeginDate,HRepairEndDate,HRepairContent,HCycleUnit,HMainSourceBillType,HMainSourceInterID,HMainSourceEntryID" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," +omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" + ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HMaker + "',getdate()" + ", " + omodel.HEquipID.ToString() + "," + omodel.HRepairID.ToString() + "," + omodel.HPlanTimes.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HTimes.ToString() + - ", " + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "','" + omodel.HRepairBeginDate.ToShortDateString() + "','" + omodel.HRepairEndDate.ToShortDateString() + "','" + omodel.HRepairContent + "','" + omodel.HCycleUnit + "'" + + ", " + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "','" + omodel.HRepairBeginDate.ToShortDateString() + "','" + omodel.HRepairEndDate.ToShortDateString() + "','" + omodel.HRepairContent + "','" + omodel.HCycleUnit + "','" + + omodel.HMainSourceBillType+"',"+ omodel.HMainSourceInterID.ToString()+","+ omodel.HMainSourceEntryID.ToString() + ") "); //鎻掑叆瀛愯〃 foreach (Models.ClsSb_EquipRepairWorkBillSub oSub in DetailColl) @@ -253,7 +257,7 @@ //=================================================== oSub.HRepairExplanation = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HRepairExplanation"]); - oSub.HRepairID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HRepairID"]); + oSub.HRepairID1 = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HRepairID"]); oSub.HEmpID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEmpID"]); -- Gitblit v1.9.1