|  |  | 
 |  |  |                                     ",getdate(),getdate(),'返工计划','"+omodel.HICMOInterID + "','"+omodel.HSourceEntryID+"','"+omodel.HSourceBillNo+"'" + | 
 |  |  |                                     ",'"+omodel.HSourceBillType+"','0','0','"+omodel.HProcID+"'" + | 
 |  |  |                                     "from Sc_ICMOBillStatus_Tmp where HSourceBillNo='"+omodel.HSourceBillNo.ToString()+"'" + | 
 |  |  |                                     " and HSourceInterID='"+omodel.HICMOInterID+"' and HSourceEntryID='"+omodel.HSourceEntryID.ToString()+"'" + | 
 |  |  |                                     " and HSourceID='"+omodel.HSourceID.ToString()+"'"); | 
 |  |  |                 //Log.LogInfo(sql1); | 
 |  |  |                                     " and HSourceInterID='"+omodel.HSourceInterID+"' and HSourceEntryID='"+omodel.HMainSourceEntryID.ToString()+"'" + | 
 |  |  |                                     " and HSourceID='"+omodel.HSourceID.ToString()+"' and HProcID='"+omodel.HProcID.ToString()+"'"); | 
 |  |  |                 oCn.RunProc(sql1); | 
 |  |  |                 sReturn = omodel.HInterID.ToString(); | 
 |  |  |                 sReturn = "新增单据成功!"; | 
 |  |  |                 oCn.Commit(); | 
 |  |  |                 return true; | 
 |  |  |             } |