代码生成器增加同步数据结构;

修复sql server 生成float类型;
修复非system用户【代码生成器中找不到xxx的定义】;
修复用户已处理流程列表中看不到【不同意】的流程;
This commit is contained in:
yubaolee
2021-12-07 01:06:53 +08:00
parent 9fd0405721
commit c8caf9dee3
7 changed files with 118 additions and 6 deletions

View File

@@ -280,12 +280,15 @@ namespace OpenAuth.App
flowInstance.IsFinish = (wfruntime.nextNodeType == 4
? FlowInstanceStatus.Finished
: FlowInstanceStatus.Running);
AddTransHistory(wfruntime);
}
else
{
flowInstance.IsFinish = FlowInstanceStatus.Disagree; //表示该节点不同意
wfruntime.nextNodeId = "-1";
wfruntime.nextNodeType = 4;
}
AddTransHistory(wfruntime);
flowInstanceOperationHistory.Content = "【" + wfruntime.currentNode.name
+ "】【" + DateTime.Now.ToString("yyyy-MM-dd HH:mm")
@@ -689,7 +692,7 @@ namespace OpenAuth.App
FromNodeName = wfruntime.currentNode.name,
FromNodeType = wfruntime.currentNodeType,
ToNodeId = wfruntime.nextNodeId,
ToNodeName = wfruntime.nextNode.name,
ToNodeName = wfruntime.nextNode?.name,
ToNodeType = wfruntime.nextNodeType,
IsFinish = wfruntime.nextNodeType == 4 ? FlowInstanceStatus.Finished : FlowInstanceStatus.Running,
TransitionSate = 0