|
@ -8,6 +8,7 @@ import org.dromara.workflow.api.domain.FlowLabelVo; |
|
|
import org.dromara.workflow.api.domain.RemoteCompleteTask; |
|
|
import org.dromara.workflow.api.domain.RemoteCompleteTask; |
|
|
import org.dromara.workflow.api.domain.RemoteStartProcess; |
|
|
import org.dromara.workflow.api.domain.RemoteStartProcess; |
|
|
import org.dromara.workflow.api.domain.RemoteStartProcessReturn; |
|
|
import org.dromara.workflow.api.domain.RemoteStartProcessReturn; |
|
|
|
|
|
import org.dromara.workflow.service.IFlwDefinitionService; |
|
|
import org.dromara.workflow.service.IFlwTaskService; |
|
|
import org.dromara.workflow.service.IFlwTaskService; |
|
|
import org.dromara.workflow.service.WorkflowService; |
|
|
import org.dromara.workflow.service.WorkflowService; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
@ -32,6 +33,8 @@ public class RemoteWorkflowServiceImpl implements RemoteWorkflowService { |
|
|
|
|
|
|
|
|
private final IFlwTaskService flwTaskService; |
|
|
private final IFlwTaskService flwTaskService; |
|
|
|
|
|
|
|
|
|
|
|
private final IFlwDefinitionService flwDefinitionService; |
|
|
|
|
|
|
|
|
private static final ExecutorService executor = Executors.newFixedThreadPool(10); |
|
|
private static final ExecutorService executor = Executors.newFixedThreadPool(10); |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
@ -100,8 +103,8 @@ public class RemoteWorkflowServiceImpl implements RemoteWorkflowService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public FlowLabelVo getFlowLabel(String labelId) { |
|
|
public String getFlowCode(String postCode){ |
|
|
return flwTaskService.getFlowLabel(labelId); |
|
|
return flwDefinitionService.getFlowCode(postCode); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|