From 646ac6f3e1e77d0481e46ea15a6eb6db4ecba065 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期一, 23 六月 2025 13:17:23 +0800
Subject: [PATCH] 11

---
 MESApplication/Controllers/QC/RKJController.cs |   50 +++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 47 insertions(+), 3 deletions(-)

diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs
index 3aea949..46d0919 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,47 @@
             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);
+        }
+    }
+
+    [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