switchIfEmpty (Mono.error(new NotFoundException())) .flatMap(existingDevice -> deviceRepository .delete(existingDevice) .then(syncSender.
確定! 回上一頁