88import com .codingapi .flow .record .FlowRecord ;
99import com .codingapi .flow .repository .DelayTaskRepository ;
1010import com .codingapi .flow .repository .FlowOperatorAssignmentRepository ;
11+ import com .codingapi .flow .repository .FlowReissueRepository ;
1112import com .codingapi .flow .repository .ParallelBranchRepository ;
1213import com .codingapi .flow .repository .SubProcessRepository ;
1314import com .codingapi .flow .repository .UrgeIntervalRepository ;
@@ -47,6 +48,8 @@ private RepositoryHolderContext() {
4748 private FlowOperatorAssignmentRepository flowOperatorAssignmentRepository ;
4849 @ Getter
4950 private SubProcessRepository subProcessRepository ;
51+ @ Getter
52+ private FlowReissueRepository flowReissueRepository ;
5053
5154 /**
5255 * 是否已经注册成功
@@ -58,7 +61,8 @@ public boolean isRegistered() {
5861 && flowRecordService != null
5962 && urgeIntervalRepository != null
6063 && flowOperatorAssignmentRepository != null
61- && subProcessRepository != null ;
64+ && subProcessRepository != null
65+ && flowReissueRepository != null ;
6266 }
6367
6468
@@ -74,14 +78,16 @@ public void register(WorkflowService workflowService,
7478 DelayTaskRepository delayTaskRepository ,
7579 UrgeIntervalRepository urgeIntervalRepository ,
7680 FlowOperatorAssignmentRepository flowOperatorAssignmentRepository ,
77- SubProcessRepository subProcessRepository ) {
81+ SubProcessRepository subProcessRepository ,
82+ FlowReissueRepository flowReissueRepository ) {
7883 this .workflowService = workflowService ;
7984 this .flowRecordService = flowRecordService ;
8085 this .parallelBranchRepository = parallelBranchRepository ;
8186 this .delayTaskRepository = delayTaskRepository ;
8287 this .urgeIntervalRepository = urgeIntervalRepository ;
8388 this .flowOperatorAssignmentRepository = flowOperatorAssignmentRepository ;
8489 this .subProcessRepository = subProcessRepository ;
90+ this .flowReissueRepository = flowReissueRepository ;
8591 }
8692
8793
0 commit comments