修复: execution_id String→ExecutionId 类型别名 + 更新待决策状态

This commit is contained in:
lxy
2026-06-28 03:50:25 +08:00
parent 8723075360
commit 7e3fe1961a
5 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
use async_trait::async_trait;
use serde::{Deserialize, Serialize};
use df_types::types::NodeId;
use df_types::types::{ExecutionId, NodeId};
use super::eventbus::EventBus;
use super::state::StateMachine;
@@ -18,7 +18,7 @@ pub struct NodeContext {
/// 节点配置参数
pub config: serde_json::Value,
/// 工作流执行 ID
pub execution_id: String,
pub execution_id: ExecutionId,
/// 事件总线
pub event_bus: EventBus,
/// 节点状态机(用于检查取消状态)