修复: execution_id String→ExecutionId 类型别名 + 更新待决策状态
This commit is contained in:
@@ -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,
|
||||
/// 节点状态机(用于检查取消状态)
|
||||
|
||||
Reference in New Issue
Block a user