*
L
2026-01-21 038f7af67400bf0cabafabce3d80aa6d0c6af3b2
src/main/java/com/zy/system/controller/RoleController.java
@@ -59,9 +59,9 @@
            }
        }
        List<Role> roleList = roleService.selectRoleList(leaderIdList,curr,limit);
        List<Role> roleList = roleService.selectRoleList(leaderIdList.isEmpty() ? null:leaderIdList,curr,limit);
        Page<Role> page = new Page<Role>(curr,limit).setRecords(roleList);
        page.setTotal(roleService.selectRoleListTotal(leaderIdList));
        page.setTotal(roleService.selectRoleListTotal(leaderIdList.isEmpty() ? null:leaderIdList));
        return R.ok(page);
    }