From e25efe9c507544cd3984f48634e38f7e61350107 Mon Sep 17 00:00:00 2001 From: 仲国强 <519541279@qq.com> Date: 星期三, 20 十月 2021 15:54:21 +0800 Subject: [PATCH] 列表自动渲染字段示例 --- WebAPI/Controllers/Pay_OtherBalBillController.cs | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/Pay_OtherBalBillController.cs b/WebAPI/Controllers/Pay_OtherBalBillController.cs index 87374c0..048d664 100644 --- a/WebAPI/Controllers/Pay_OtherBalBillController.cs +++ b/WebAPI/Controllers/Pay_OtherBalBillController.cs @@ -310,7 +310,28 @@ return objJsonResult; } } - + [Route("Pay_OtherBalBill/getOtherBalBillPrice")] + [HttpGet] + public object getOtherBalBillPrice(string HMaterID, string HProcID) + { + try + { + DataSet ds = oCN.RunProcReturn("select 鍗曚环 from h_v_Gy_ProcPriceList where HMaterID='" + HMaterID + "' and HProcID='" + HProcID + "'", "h_v_Gy_ProcPriceList"); + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鏌ヨ鎴愬姛锛�"; + 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; + } + } // } } \ No newline at end of file -- Gitblit v1.9.1