From 3202777c4522934625d739007adf3d96ed1f55c6 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期三, 07 九月 2022 13:25:32 +0800 Subject: [PATCH] 批量汇报 工序流转卡列表新增器具清单信息 --- WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs index fd02fef..e66f202 100644 --- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs +++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs @@ -372,6 +372,43 @@ //} #endregion + + #region 宸ュ簭娴佽浆鍗″垪琛ㄦ樉绀哄櫒鍏锋竻鍗曚俊鎭� + [Route("Sc_ProcessExchangeBillList/QJQD")] + [HttpGet] + public object QJQD(Int64 HProcExchHinteID) + { + try + { + + //寰楀埌淇℃伅 + ds = oCN.RunProcReturn("select top 1 * from h_v_Sc_ProcessExchangeBillQuerySub_Mould where hmainid= " + HProcExchHinteID , "h_v_Sc_ProcessExchangeBillQuerySub_Mould"); + //鍐欏叆淇℃伅 + if (ds == null || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏈煡璇㈠埌鍑虹珯鍗曟槑缁嗕俊鎭紒"; + objJsonResult.data = null; + return objJsonResult; + } + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + #region[杩斿洖鐢熶骇浠诲姟鍗曟槑缁嗚] /// <summary> /// 杩斿洖鐢熶骇浠诲姟鍗曟槑缁嗚 -- Gitblit v1.9.1