wtt
2024-08-01 55e565721ef588d7ae9f421b6d1fce63b51aa55f
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;
            }