From 29b8b51b8c6321a2aceda77895f7603078b910b9 Mon Sep 17 00:00:00 2001 From: yxj <1qaz@123> Date: 星期二, 24 五月 2022 11:30:55 +0800 Subject: [PATCH] 新增末道工序出站汇报单列表模块;不良明细良率报表获取数据方法修改 --- WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs b/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs index f62af96..18e425f 100644 --- a/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs +++ b/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs @@ -76,6 +76,7 @@ } } #endregion + #region 鍙枡閫�鏂欏崟 鍒犻櫎 [Route("Cj_CallGoodsBillBack/DelCallGoodsBill")] [HttpGet] @@ -111,5 +112,40 @@ } } #endregion + + #region 鍙枡鍗曞垪琛� (榛樿鏌ヨ) + [Route("Cj_CallGoodsBillBack/JIT_BackGoodsList")] + [HttpGet] + public object JIT_BackGoodsList(string HInterID, string user) + { + try + { + if (HInterID == null || HInterID.Equals("")) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = null; + objJsonResult.data = new DataTable(); + return objJsonResult; + } + + ds = oCN.RunProcReturn($"exec h_p_JIT_BackGoods_Load '{HInterID}'", "h_p_JIT_BackGoods_Load"); + + 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; + } + } + #endregion } } \ No newline at end of file -- Gitblit v1.9.1