public ClientDto getById(long id) {
        return BeanUtil.copyProperties(clientService.getById(id), ClientDto.class);
    }
@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