feat: 工单流程新增ai任务,支持退回、数据导出支持excel、其他优化等

This commit is contained in:
meilin.huang
2025-12-08 20:50:16 +08:00
parent 3017460cc7
commit 5598ddf93c
69 changed files with 3376 additions and 226 deletions

View File

@@ -118,6 +118,9 @@ type NodeBehavior interface {
// Leave 离开节点
Leave(*ExecutionCtx) error
// IsAsync 是否异步节点
IsAsync() bool
}
type DefaultNodeBehavior struct {
@@ -136,6 +139,10 @@ func (h *DefaultNodeBehavior) Leave(ctx *ExecutionCtx) error {
return GetExecutionApp().ContinueExecution(ctx)
}
func (h *DefaultNodeBehavior) IsAsync() bool {
return false
}
/******************* 节点注册器 *******************/
type NodeBehaviorRegistry struct {