From c846eaf61febfeba340213ee2d692182ea0ccb90 Mon Sep 17 00:00:00 2001 From: wbc <2597324127@qq.com> Date: 星期四, 29 五月 2025 18:40:53 +0800 Subject: [PATCH] 11 --- MESApplication/Controllers/QC/RKJController.cs | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs index 3aea949..618e8d1 100644 --- a/MESApplication/Controllers/QC/RKJController.cs +++ b/MESApplication/Controllers/QC/RKJController.cs @@ -135,14 +135,15 @@ try { dynamic resultInfos = new ExpandoObject(); - var tbBillList = - new RKJService().getPage(queryObj); + var (items, totalCount) = new RKJService().getPage(queryObj); + var tbBillList = items; resultInfos.tbBillList = tbBillList; return new ResponseResult { status = 0, message = "OK", - data = resultInfos + data = resultInfos, + TotalCount = totalCount }; } catch (Exception ex) @@ -364,4 +365,27 @@ return ResponseResult.ResponseError(ex); } } + + + [HttpPost("GetRKDetail")] + public ResponseResult GetRKDetail([FromBody] RKJDto xjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new RKJService().GetRKDetail(xjDto); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } } \ No newline at end of file -- Gitblit v1.9.3