From ed05efdc17aab076146b134ebe105b6382f221d7 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期四, 10 七月 2025 10:09:29 +0800
Subject: [PATCH] 格式化代码

---
 MESApplication/Controllers/QC/SJController.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/MESApplication/Controllers/QC/SJController.cs b/MESApplication/Controllers/QC/SJController.cs
index ecef1f0..5c29a23 100644
--- a/MESApplication/Controllers/QC/SJController.cs
+++ b/MESApplication/Controllers/QC/SJController.cs
@@ -41,14 +41,19 @@
         try
         {
             dynamic resultInfos = new ExpandoObject();
-            var tbBillList =
-                new SJService().getPage(queryObj);
+
+            var (items, totalCount) = new SJService().getPage(queryObj);
+
+            var tbBillList = items;
+
+
             resultInfos.tbBillList = tbBillList;
             return new ResponseResult
             {
                 status = 0,
                 message = "OK",
-                data = resultInfos
+                data = resultInfos,
+                TotalCount = totalCount
             };
         }
         catch (Exception ex)
@@ -65,7 +70,6 @@
         var itemNo = data["itemId"].ToString();
         try
         {
-
             dynamic resultInfos = new ExpandoObject();
             var tbBillList = new SJService();
             var detail021 = tbBillList.SetQSItems(itemNo);

--
Gitblit v1.9.3