@@ -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 }
0 commit comments