From 004a418bd6674d62d06587030e29897ce430f0f2 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 30 四月 2025 15:57:04 +0800 Subject: [PATCH] 1.异常处置单推送OA 2.现场管理新增现场收料的条码查询功能 --- Controllers/QC/IpqcController.cs | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git a/Controllers/QC/IpqcController.cs b/Controllers/QC/IpqcController.cs index c4f6370..abc4a94 100644 --- a/Controllers/QC/IpqcController.cs +++ b/Controllers/QC/IpqcController.cs @@ -14,6 +14,11 @@ { IpqcService m = new IpqcService(); + /// <summary> + /// 棣栨鍗曟嵁鏌ヨ + /// </summary> + /// <param name="queryObj"></param> + /// <returns></returns> [HttpPost("getPageSj")] public ResponseResult getPageSj([FromBody] XJPageResult queryObj) { @@ -64,5 +69,33 @@ } - + /// <summary> + /// 棣栨鍗曟嵁鏌ヨ + /// </summary> + /// <param name="queryObj"></param> + /// <returns></returns> + [HttpPost("getPageXj")] + public ResponseResult getPageXj([FromBody] XJPageResult queryObj) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var (item, totalCount) = m.getPageXj(queryObj); + var tbBillList = + resultInfos.tbBillList = item; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos, + TotalCount = totalCount + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + } \ No newline at end of file -- Gitblit v1.9.3