From 411ebc3c0a2b457bc5eb61443c549b6142a60ff6 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期六, 19 四月 2025 08:16:13 +0800 Subject: [PATCH] 1.采购入库取消检验结果校验 2.新增ipqc查询 --- 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