From abd9a9d9ccdff4b77d23c88edb39c0284f365c7f Mon Sep 17 00:00:00 2001 From: 沈泽 <211959439@qq.com> Date: 星期一, 27 九月 2021 16:43:00 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/Sc_MouldOtherInBillController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/Sc_MouldOtherInBillController.cs b/WebAPI/Controllers/Sc_MouldOtherInBillController.cs index 05154c3..66128e1 100644 --- a/WebAPI/Controllers/Sc_MouldOtherInBillController.cs +++ b/WebAPI/Controllers/Sc_MouldOtherInBillController.cs @@ -125,13 +125,13 @@ #region[鍣ㄥ叿鍒嗗竷寮忚皟鍑哄崟缂栬緫鏃惰幏鍙栬〃澶存暟鎹甝 [Route("Sc_MouldOtherInBill/Sc_MouldOtherInBillListCheckDetai")] [HttpGet] - public ApiResult<DataSet> Sc_MouldOtherInBillListCheckDetai(string HID) + public ApiResult<DataSet> Sc_MouldOtherInBillListCheckDetai(string HID) { if (string.IsNullOrEmpty(HID)) return new ApiResult<DataSet> { code = -1, msg = "ID涓嶈兘涓虹┖" }; SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); - var dataSet = oCN.RunProcReturn("select top 1 * from where hmainid= " + HID + " ", "h_v_Sc_MouldOtherInBillList"); + var dataSet = oCN.RunProcReturn("select top 1 * from h_v_Sc_MouldOtherInBillList where hmainid= " + HID + " ", "h_v_Sc_MouldOtherInBillList"); if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) return new ApiResult<DataSet> { code = -1, msg = "涓嶅瓨鍦ㄩ��搴撳崟鍙�" }; -- Gitblit v1.9.1