mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-11 21:45:21 +08:00
feat: 工单流程新增ai任务,支持退回、数据导出支持excel、其他优化等
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user