DAL/车间管理/ClsGy_MaterPreventErrMouldBillMain.cs
@@ -79,7 +79,7 @@
                {
                    string subSql = "insert into Gy_MaterPreventErrMouldBillSub " +
                        "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRemark" +
                        ",HPreventErrMouldID,HPreventErrNote,HLoseMode,HLoseCheck) " +
                        ",HPreventErrMouldID,HPreventErrNote,HLoseMode,HLoseCheck,HPreventErrResult) " +
                        " values(" +
                        "" + omodel.HInterID.ToString() +
                        "," + oSub.HEntryID.ToString() +
@@ -92,6 +92,7 @@
                        "','" + oSub.HPreventErrNote +
                        "','" + oSub.HLoseMode +
                        "','" + oSub.HLoseCheck +
                        "','" + oSub.HPreventErrResult +
                        "')";
                    oCn.RunProc(subSql);
                }
@@ -189,7 +190,7 @@
                {
                    string subSql = "insert into Gy_MaterPreventErrMouldBillSub " +
                        "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRemark" +
                        ",HPreventErrMouldID,HPreventErrNote,HLoseMode,HLoseCheck) " +
                        ",HPreventErrMouldID,HPreventErrNote,HLoseMode,HLoseCheck,HPreventErrResult) " +
                        " values(" +
                        "" + omodel.HInterID.ToString() +
                        "," + oSub.HEntryID.ToString() +
@@ -202,6 +203,7 @@
                        "','" + oSub.HPreventErrNote +
                        "','" + oSub.HLoseMode +
                        "','" + oSub.HLoseCheck +
                        "','" + oSub.HPreventErrResult +
                        "')";
                    oCn.RunProc(subSql);
                }