From 83e42fa6d2797cf4e0b2769426348cbc7a5d7289 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期二, 12 八月 2025 19:43:28 +0800 Subject: [PATCH] 检验 --- MESApplication/Controllers/QC/RKJController.cs | 51 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 48 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs index 3aea949..d120528 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,48 @@ 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(); + + 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