1
0

更改部份变量名

This commit is contained in:
2025-01-02 16:09:18 +08:00
parent 422e024b7b
commit 7d88674c66
4 changed files with 13 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ public class JpaFlowableNode {
private String description;
@Enumerated(EnumType.STRING)
@Column(nullable = false)
private FlowableNode.RunType runType;
private FlowableNode.Type type;
@ElementCollection(fetch = javax.persistence.FetchType.EAGER)
@MapKeyColumn(name = "action")
@Column(name = "nodeId")
@@ -60,12 +60,12 @@ public class JpaFlowableNode {
this.nodeId = node.getNodeId();
this.name = node.getName();
this.description = node.getDescription();
this.runType = node.getRunType();
this.type = node.getType();
this.nextNodes = node.getNextNodes();
}
public FlowableNode toFlowableNode() {
FlowableNode node = new FlowableNode(nodeId, name, description, runType, nextNodes, null, createdTime);
FlowableNode node = new FlowableNode(nodeId, name, description, type, nextNodes, null, createdTime);
node.setUpdatedTime(updateTime);
return node;
}