cpT
2025-06-24 acb4d07da40454517a3b211d6dc92ac5bd4a65d3
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);
    }