| | |
| | | return GetObjectJson(ds); |
| | | } |
| | | |
| | | // |
| | | //根据ID删除缓存表中扫码记录-产线包装单 |
| | | [Route("LEMS/DelProductionLinePackagingTable")] |
| | | [HttpGet] |
| | | public object DelProductionLinePackagingTable(long sHInterID,string HSourceBillNo) |
| | | { |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | oCn.RunProc("Delete from KF_PonderationBillMain_Temp where HInterID = " + sHInterID + " and HSourceBillNo = '" + HSourceBillNo + "'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "删除成功!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "删除失败!"; |
| | | objJsonResult.data = e.ToString(); |
| | | return objJsonResult; |
| | | } |
| | | |
| | | } |
| | | |
| | | // |
| | | } |
| | | } |