From b6b20da09e72e9e287b252348e7700641d9745e8 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期一, 11 八月 2025 18:31:14 +0800 Subject: [PATCH] 11 --- MESApplication/Controllers/QC/XJController.cs | 30 ++++++++++++++++++++++++++---- 1 files changed, 26 insertions(+), 4 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index ef25d6b..6e3a36d 100644 --- a/MESApplication/Controllers/QC/XJController.cs +++ b/MESApplication/Controllers/QC/XJController.cs @@ -236,14 +236,14 @@ try { dynamic resultInfos = new ExpandoObject(); - var tbBillList = - new XJService().getPage(queryObj); - resultInfos.tbBillList = tbBillList; + var (items, totalCount) = new XJService().getPage(queryObj); + resultInfos.tbBillList = items; return new ResponseResult { status = 0, message = "OK", - data = resultInfos + data = resultInfos, + TotalCount = totalCount }; } catch (Exception ex) @@ -442,4 +442,26 @@ return ResponseResult.ResponseError(ex); } } + + [HttpPost("XJQaSubmit")] + public ResponseResult XJQaSubmit(LLJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new XJService().XJQaSubmit(rkjDto); + 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