YL
2021-11-24 25b8fc1e8040e76770fec45e4c38453c14015254
DAL/生产管理/模具管理/ClsSb_MouldRepairWorkBill.cs
@@ -65,6 +65,9 @@
                ",HSupID=" + omodel.HSupID.ToString() +
                ",HRepairType='" + omodel.HRepairType + "'" +
                ",HNewModel='" + omodel.HNewModel + "'" +
                ",HMainSourceBillType='"+ omodel.HMainSourceBillType+"'"+
                ",HMainSourceInterID=" + omodel.HMainSourceInterID.ToString()+
                ",HMainSourceEntryID="+ omodel.HMainSourceEntryID.ToString()+
                ",HNewDesignLife=" + omodel.HNewDesignLife.ToString() +
                " where HInterID=" + lngBillKey.ToString());
                //鍒犻櫎鍏宠仈
@@ -124,14 +127,14 @@
                ",HEquipID,HRepairID,HRepairBeginDate,HRepairEndDate,HRepairContent" +                
                ",HCycleUnit,HPlanTimes,HTimes,HEmpID,HManagerID"+
                ",HDeptID,HExplanation,HInnerBillNo,HMouldID" +
                ",HSupID,HRepairType,HNewModel,HNewDesignLife" +
                ",HSupID,HRepairType,HNewModel,HNewDesignLife,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.HRepairBeginDate + "','" + omodel.HRepairEndDate + "','" + omodel.HRepairContent + "'" +
                ",'" + omodel.HCycleUnit + "'," + omodel.HPlanTimes.ToString() + "," + omodel.HTimes.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() +
                "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + omodel.HMouldID.ToString() +
                 ", " + omodel.HSupID.ToString() + ",'" + omodel.HRepairType + "','" + omodel.HNewModel + "'," + omodel.HNewDesignLife.ToString() +
                 ", " + omodel.HSupID.ToString() + ",'" + omodel.HRepairType + "','" + omodel.HNewModel + "'," + omodel.HNewDesignLife.ToString() +",'"+ omodel.HMainSourceBillType+"',"+ omodel.HMainSourceInterID.ToString()+","+ omodel.HMainSourceEntryID.ToString()+
                ") ");
                //鎻掑叆瀛愯〃
                foreach (Model.ClsSb_MouldRepairWorkBillSub oSub in DetailColl)