Skip to content

Commit 27d8c00

Browse files
committed
fix flow-engine node data-struct
1 parent 913c1b9 commit 27d8c00

3 files changed

Lines changed: 0 additions & 37 deletions

File tree

flow-engine-starter-infra/src/main/java/com/codingapi/flow/infra/convert/WorkflowConvertor.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public class WorkflowConvertor {
1111
private final static OperatorMatchScriptConvertor operatorMatchScriptConvertor = new OperatorMatchScriptConvertor();
1212
private final static WorkflowStrategyListConvertor workflowStrategyListConvertor = new WorkflowStrategyListConvertor();
1313
private final static FormMetaConvertor formMetaConvertor = new FormMetaConvertor();
14-
private final static FlowEdgeListConvertor flowEdgeListConvertor = new FlowEdgeListConvertor();
1514

1615

1716
public static WorkflowEntity convert(Workflow workflow){
@@ -30,7 +29,6 @@ public static WorkflowEntity convert(Workflow workflow){
3029
entity.setForm(formMetaConvertor.convertToDatabaseColumn(workflow.getForm()));
3130
entity.setOperatorCreateScript(operatorMatchScriptConvertor.convertToDatabaseColumn(workflow.getOperatorCreateScript()));
3231
entity.setNodes(flowNodeListConvertor.convertToDatabaseColumn(workflow.getNodes()));
33-
entity.setEdges(flowEdgeListConvertor.convertToDatabaseColumn(workflow.getEdges()));
3432
entity.setSchema(workflow.getSchema());
3533
entity.setStrategies(workflowStrategyListConvertor.convertToDatabaseColumn(workflow.getStrategies()));
3634
return entity;
@@ -49,7 +47,6 @@ public static Workflow convert(WorkflowEntity entity){
4947
formMetaConvertor.convertToEntityAttribute(entity.getForm()),
5048
operatorMatchScriptConvertor.convertToEntityAttribute(entity.getOperatorCreateScript()),
5149
flowNodeListConvertor.convertToEntityAttribute(entity.getNodes()),
52-
flowEdgeListConvertor.convertToEntityAttribute(entity.getEdges()),
5350
entity.getSchema(),
5451
workflowStrategyListConvertor.convertToEntityAttribute(entity.getStrategies()));
5552
}

flow-engine-starter-infra/src/main/java/com/codingapi/flow/infra/entity/WorkflowEntity.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ public class WorkflowEntity {
5959
@Lob
6060
private String nodes;
6161

62-
/**
63-
* 流程关系
64-
*/
65-
@Lob
66-
private String edges;
67-
6862
/**
6963
* 流程设计
7064
*/

flow-engine-starter-infra/src/main/java/com/codingapi/flow/infra/entity/convert/FlowEdgeListConvertor.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)