ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
@@ -216,9 +216,9 @@ public AjaxResult getUserCount() { Map<String, Integer> map = new HashMap<>(); Integer userCountSum = userService.selectCount(null); Integer normalCount = userService.selectCount(0);// 正常 Integer stopCount = userService.selectCount(1);// 停用 Integer userCountSum = userService.selectCountByStatus(null); Integer normalCount = userService.selectCountByStatus(0);// 正常 Integer stopCount = userService.selectCountByStatus(1);// 停用 map.put("all", userCountSum); map.put("normal", normalCount);