From 33503867957bdcb8b3bdf1b794206078c340fdea Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 07 一月 2026 10:12:01 +0800
Subject: [PATCH] 修改

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java
index fdb4fcc..6416965 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/DataStatisticsController.java
@@ -139,6 +139,10 @@
         // 重点人数
         long keyCount = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                 .eq(TLargeKeyGridUser::getUserType, 1));
+        List<TLargeKeyPersonnelType> list = largeKeyPersonnelTypeService.list(Wrappers.lambdaQuery(TLargeKeyPersonnelType.class)
+                .ne(TLargeKeyPersonnelType::getShowType, 1));
+        int sum = list.stream().mapToInt(TLargeKeyPersonnelType::getShowNumber).sum();
+        keyCount += sum;
         // 网格人数
         long gridCount = largeKeyGridUserService.count(Wrappers.lambdaQuery(TLargeKeyGridUser.class)
                 .eq(TLargeKeyGridUser::getUserType, 2));

--
Gitblit v1.7.1