| | |
| | | #region 报工平台产量汇报删除 |
| | | [Route("Sc_MESBeginWorkBill/DeltetMESProductReportBill")] |
| | | [HttpGet] |
| | | public object DeleteGetLineBindBillList(string HInterID) |
| | | public object DeleteGetLineBindBillList(string HInterID,string HICMOInterID,string HICMOEntryID) |
| | | { |
| | | try |
| | | { |
| | | oCN.BeginTran(); |
| | | //更新切换状态值 |
| | | string sql = string.Format(@"delete Sc_ICMOBillWorkQtyStatus_Tmp where HInterID='" + HInterID + "'"); |
| | | oCN.RunProc(sql); |
| | | //更新产量装量临时表已汇报数量 |
| | | string sql1 = string.Format(@"update Sc_ICMOBillStatus_Tmp set HRelationInterID=0,HSplitRelationQty=0 where HInterID='" + HInterID + "' and HICMOInterID='"+ HICMOInterID + "' and HICMOEntryID='"+ HICMOEntryID + "'"); |
| | | oCN.RunProc(sql); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | |
| | | #region 报工平台报检申请保存 |
| | | [Route("Sc_MESBeginWorkBill/SaveGetMESProductReportBillList")] |
| | | [HttpGet] |
| | | public object SaveGetMESProductReportBillList(string ScMaxWork,string HSourceBillType, string workcode,int HSourceID,int HICMOInterID,int HICMOEntryID,string HMaker) |
| | | public object SaveGetMESProductReportBillList(string ScMaxWork,string HSourceBillType, string workcode,int HSourceID,int HICMOInterID,int HICMOEntryID,string HMaker,string Czybm) |
| | | { |
| | | ListModels oListModels = new ListModels(); |
| | | try |