更改部份变量名
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user