From 00a72fff219241eb5b0405a066cc859d07cf7735 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 17 九月 2025 10:23:44 +0800 Subject: [PATCH] 1111 --- Controllers/Wom/WwGdController.cs | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 57 insertions(+), 2 deletions(-) diff --git a/Controllers/Wom/WwGdController.cs b/Controllers/Wom/WwGdController.cs index 8ec8e60..4e39fb9 100644 --- a/Controllers/Wom/WwGdController.cs +++ b/Controllers/Wom/WwGdController.cs @@ -9,7 +9,7 @@ [ApiController] [Route("api/[controller]")] -public class WwGdController : ControllerBase +public class WwGdController : BaseController { private readonly WwGdManager m = new(); @@ -94,6 +94,61 @@ } } + + /// <summary> + /// 鑾峰彇搴撲綅淇℃伅 + /// </summary> + /// <returns></returns> + [HttpPost("GetBarKwByItem")] + public ResponseResult GetBarKwByItem(dynamic unity) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetBarKwByItem(unity); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + /// <summary> + /// 閫夊彇鍒楄〃 + /// </summary> + /// <param name="query"></param> + /// <returns></returns> + /// <summary> + /// 鐜板満鏀舵枡鑾峰彇鍙�夊伐鍗曚俊鎭� + /// </summary> + /// <param name="query"></param> + /// <returns></returns> + [HttpPost("GetXcslDaa")] + public ResponseResult GetXcslDaa([FromBody] dynamic query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetXcslDaa(query, RequestInfo); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + /// <summary> /// 鏍规嵁宸ュ崟鍙疯幏鍙栦唬棰嗙墿鏂欐槑缁� /// </summary> @@ -114,7 +169,7 @@ { // 璋冪敤WwGdManager鐨凣etItemsByDaa001鏂规硶鑾峰彇浠i鐗╂枡鏄庣粏 dynamic resultInfos = new ExpandoObject(); - resultInfos.tbBillList = m.GetItemsByDaa001(query); + resultInfos.tbBillList = m.GetItemsByDaa001(query, RequestInfo); return new ResponseResult { status = 0, -- Gitblit v1.9.3