From 2b8d835217a75650e066de7d39509eee9923ef3c Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期四, 14 八月 2025 21:30:46 +0800 Subject: [PATCH] 111 --- MESApplication/Controllers/QC/RKJController.cs | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 50 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs index 3aea949..9b662af 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,50 @@ return ResponseResult.ResponseError(ex); } } + + //saveNotesPid 淇敼鏁存敼鎺柦 + [HttpPost("saveNotesPid")] + public ResponseResult saveNotesPid([FromBody] RKJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new RKJService().saveNotesPid(rkjDto); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + [HttpPost("IqcQaSubmit")] + public ResponseResult IqcQaSubmit(RKJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new RKJService().IqcQaSubmit(rkjDto); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "鎻愪氦鎴愬姛", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + } \ No newline at end of file -- Gitblit v1.9.3