| | |
| | | { |
| | | 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() + |
| | |
| | | "','" + oSub.HPreventErrNote + |
| | | "','" + oSub.HLoseMode + |
| | | "','" + oSub.HLoseCheck + |
| | | "','" + oSub.HPreventErrResult + |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |
| | |
| | | { |
| | | 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() + |
| | |
| | | "','" + oSub.HPreventErrNote + |
| | | "','" + oSub.HLoseMode + |
| | | "','" + oSub.HLoseCheck + |
| | | "','" + oSub.HPreventErrResult + |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |