refactor: 调整历史记录的fromnodetype/tonodetype

This commit is contained in:
yubaolee
2025-04-17 15:10:03 +08:00
parent 831053aaf1
commit 8359e21fdd
5 changed files with 10 additions and 10 deletions

View File

@@ -493,10 +493,10 @@ namespace OpenAuth.App.Flow
CreateUserName = user.Name,
FromNodeId = currentNodeId,
FromNodeName = currentNode.name,
// FromNodeType = GetCurrentNodeType(),
FromNodeType = GetCurrentNodeType(),
ToNodeId = nextNodeId,
ToNodeName = nextNode?.name,
// ToNodeType = GetNextNodeType(),
ToNodeType = GetNextNodeType(),
IsFinish = IsFinish() ? FlowInstanceStatus.Finished : FlowInstanceStatus.Running,
TransitionSate = 0
};