| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 下达 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("LEMS/MES_Sc_ProcessExchangeIssue")] |
| | | [HttpGet] |
| | | public object MES_Sc_ProcessExchangeIssue(string HGroupID, string HSourceID, string HEntryId) { |
| | | DataSet ds; |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | ds = oCN.RunProcReturn($"exec REALESE_Sc_ProcessExchangeIssue '{HGroupID}','{HSourceID}','{HEntryId}' ", "REALESE_Sc_ProcessExchangeIssue"); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucess!"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "异常!" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 返回工序出站汇报单列表 |