public PageResult<ClientDto> listClient(Map<String, Object> params, boolean isPage) {
        PageResult<Client> clientPage = clientService.listClient(params, isPage);
        PageResult<ClientDto> result = new PageResult<>();
        result.setCode(clientPage.getCode());
        result.setCount(clientPage.getCount());
        result.setData(BeanUtil.copyToList(clientPage.getData(), ClientDto.class));
        return result;
    }
@author zlt
<p>
Blog: http://zlt2000.gitee.io
Github: https://github.com/zlt2000
zlt-uaa/src/main/java/com/central/oauth/service/impl/RegisteredClientService.java