From 7883316c61d4f8fa70fe6cde0c0f53e9e3d8d1d0 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 15 五月 2025 14:22:40 +0800
Subject: [PATCH] 1.OA->MES审批接口开发。 2.OA->MES退回接口开发。 3.MES->OA由同步调整为异步。

---
 Controllers/QC/IpqcController.cs |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 56 insertions(+), 1 deletions(-)

diff --git a/Controllers/QC/IpqcController.cs b/Controllers/QC/IpqcController.cs
index c4f6370..1bd8deb 100644
--- a/Controllers/QC/IpqcController.cs
+++ b/Controllers/QC/IpqcController.cs
@@ -14,6 +14,11 @@
 {
     IpqcService m = new IpqcService();
 
+    /// <summary>
+    /// 棣栨鍗曟嵁鏌ヨ
+    /// </summary>
+    /// <param name="queryObj"></param>
+    /// <returns></returns>
     [HttpPost("getPageSj")]
     public ResponseResult getPageSj([FromBody] XJPageResult queryObj)
     {
@@ -64,5 +69,55 @@
     }
 
 
-    
+    /// <summary>
+    /// 棣栨鍗曟嵁鏌ヨ
+    /// </summary>
+    /// <param name="queryObj"></param>
+    /// <returns></returns>
+    [HttpPost("getPageXj")]
+    public ResponseResult getPageXj([FromBody] XJPageResult queryObj)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var (item, totalCount) = m.getPageXj(queryObj);
+            var tbBillList =
+                resultInfos.tbBillList = item;
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos,
+                TotalCount = totalCount
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    //鏇存柊妫�楠岄」鐩璇佷俊鎭� 
+    [HttpPost("updateIpqcRzxx")]
+    public ResponseResult updateIpqcRzxx(LLJDto ipqcDto)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList = m.updateIpqcRzxx(ipqcDto);
+            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