使用 Stream.map()CompletableFuture.thenApply() 或类似操作将在 lambda 操作中声明的变量提取到单独的映射步骤。