public DiscoveryHandlerDO mapToDO(DiscoveryHandlerDTO discoveryHandlerDTO) {
        return Optional.ofNullable(discoveryHandlerDTO).map(data -> {
            DiscoveryHandlerDO discoveryHandlerDO = new DiscoveryHandlerDO();
            discoveryHandlerDO.setDiscoveryId(data.getDiscoveryId());
            discoveryHandlerDO.setHandler(data.getHandler());
            discoveryHandlerDO.setProps(data.getProps());
            discoveryHandlerDO.setListenerNode(data.getListenerNode());
            discoveryHandlerDO.setId(data.getId());
            return discoveryHandlerDO;
        }).orElse(null);
    }
mapToDO.

@param discoveryHandlerDTO discoveryHandlerDTO
@return DiscoveryHandlerDTO
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/DiscoveryTransfer.java