From 8f25fecab6e6a79096b9940ab3432401b9045b39 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期四, 10 七月 2025 18:00:14 +0800
Subject: [PATCH] 首检\巡检\入库检适配

---
 MESApplication/Controllers/QC/XJController.cs |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs
index e43cb9f..6ae5b7b 100644
--- a/MESApplication/Controllers/QC/XJController.cs
+++ b/MESApplication/Controllers/QC/XJController.cs
@@ -82,7 +82,9 @@
     }
 
 
-    //getDaa001
+    /// <summary>
+    ///     鑾峰彇宸ュ崟
+    /// </summary>
     [HttpPost("getDaa001")]
     public ResponseResult getDaa001([FromBody] JObject data)
     {
@@ -107,7 +109,10 @@
         }
     }
 
-    //getBoardItem
+    /// <summary>
+    ///     鏍规嵁浜х嚎鑾峰彇鐗╂枡缂栫爜  lineNo
+    /// </summary>
+    /// <returns></returns>
     [HttpPost("getBoardItem")]
     public ResponseResult getBoardItem([FromBody] JObject data)
     {
@@ -231,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)

--
Gitblit v1.9.3