From 5338a189d90bbfb7ad75ebd25f41df9c31f7b218 Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Wed, 16 Oct 2024 09:58:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BB=9F=E8=AE=A1=E8=BF=91=E7=BA=BF?= =?UTF-8?q?=E4=B8=8A=E4=BC=9A=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/system/count/SysUsernumController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysUsernumController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysUsernumController.java index c04dd99..6053008 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysUsernumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysUsernumController.java @@ -78,9 +78,9 @@ public class SysUsernumController extends BaseController { List sysuser = new ArrayList<>(); List list = userService.selectUserGroupBydept(user); List sysDepts = deptService.selectDeptList(dept); - for (SysDept Dept : sysDepts) { + for (SysDept sysDept : sysDepts) { for (SysUser user1 : list) { - if (Dept.getDeptName().equals(user1.getDept().getDeptName())) { + if (sysDept.getDeptName().equals(user1.getDept().getDeptName())) { sysuser.add(user1); } }