From 5e11da1d662cd0c629ab2d854de2e5babb399ca3 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期日, 22 九月 2024 09:14:51 +0800 Subject: [PATCH] 来料检验的分页 --- MESApplication/Controllers/QC/LljController.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/LljController.cs b/MESApplication/Controllers/QC/LljController.cs index 4c8be4f..529ba55 100644 --- a/MESApplication/Controllers/QC/LljController.cs +++ b/MESApplication/Controllers/QC/LljController.cs @@ -18,14 +18,15 @@ try { dynamic resultInfos = new ExpandoObject(); + var (item, totalCount) = new LljService().GetPage(queryObj); var tbBillList = - new LljService().GetPage(queryObj); - resultInfos.tbBillList = tbBillList; + resultInfos.tbBillList = item; return new ResponseResult { status = 0, message = "OK", - data = resultInfos + data = resultInfos, + TotalCount = totalCount }; } catch (Exception ex) -- Gitblit v1.9.3