yangle
2022-08-09 74f3a827b455592df58dccf2ab67e76f722df7c1
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;
            }