chenhaozhe
5 天以前 da84e4e72c9d9cc7e2bd40dc4bb7b3222ca3519a
WebAPI/DLL/ClsSc_MESReturnStepWorkBill.cs
@@ -146,11 +146,10 @@
                                    ",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;
            }