| | |
| | | { |
| | | string subSql = "insert into Gy_MaterialTechParamBillSub" + |
| | | "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HTechParamID,HTechParamUnitID,HStd,HMax,HMin,HDataForm,HDataUnit,HDataTimes,HTechParamClassID,HSNO,HStdNextTimes,HTechParamIDStd) " + |
| | | ",HTechParamID,HTechParamUnitID,HStd,HMax,HMin,HDataForm,HDataUnit,HDataTimes,HTechParamClassID,HSNO,HStdNextTimes,HTechParamIDStd,HIsRequired) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | |
| | | "','" + oSub.HSNO + |
| | | "','" + oSub.HStdNextTimes + |
| | | "','" + oSub.HTechParamIDStd + |
| | | "','" + Convert.ToString(oSub.HIsRequired ? 1 : 0) + |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |
| | |
| | | { |
| | | string subSql = "insert into Gy_MaterialTechParamBillSub" + |
| | | "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HTechParamID,HTechParamUnitID,HStd,HMax,HMin,HDataForm,HDataUnit,HDataTimes,HTechParamClassID,HSNO,HStdNextTimes,HTechParamIDStd) " + |
| | | ",HTechParamID,HTechParamUnitID,HStd,HMax,HMin,HDataForm,HDataUnit,HDataTimes,HTechParamClassID,HSNO,HStdNextTimes,HTechParamIDStd,HIsRequired) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | |
| | | "','" + oSub.HSNO + |
| | | "','" + oSub.HStdNextTimes + |
| | | "','" + oSub.HTechParamIDStd + |
| | | "','" + Convert.ToString(oSub.HIsRequired ? 1 : 0)+ |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |