|
|
@@ -16,16 +16,19 @@
|
|
|
*/
|
|
|
package org.springblade.flow.business.feign;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.flowable.engine.IdentityService;
|
|
|
import org.flowable.engine.RuntimeService;
|
|
|
import org.flowable.engine.TaskService;
|
|
|
import org.flowable.engine.runtime.ProcessInstance;
|
|
|
+import org.flowable.task.api.Task;
|
|
|
import org.springblade.core.tenant.annotation.NonDS;
|
|
|
import org.springblade.core.tool.api.R;
|
|
|
import org.springblade.core.tool.support.Kv;
|
|
|
import org.springblade.core.tool.utils.Func;
|
|
|
import org.springblade.core.tool.utils.StringUtil;
|
|
|
+import org.springblade.flow.business.service.FlowBusinessService;
|
|
|
import org.springblade.flow.core.entity.BladeFlow;
|
|
|
import org.springblade.flow.core.feign.IFlowClient;
|
|
|
import org.springblade.flow.core.utils.TaskUtil;
|
|
|
@@ -34,6 +37,7 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
@@ -49,6 +53,7 @@ public class FlowClient implements IFlowClient {
|
|
|
private final RuntimeService runtimeService;
|
|
|
private final IdentityService identityService;
|
|
|
private final TaskService taskService;
|
|
|
+ private final FlowBusinessService flowBusinessService;
|
|
|
|
|
|
@Override
|
|
|
@PostMapping(START_PROCESS_INSTANCE_BY_ID)
|
|
|
@@ -104,4 +109,11 @@ public class FlowClient implements IFlowClient {
|
|
|
return R.data(taskService.getVariables(taskId));
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ @GetMapping(FLOW_INSTANCE_SEND)
|
|
|
+ public R<BladeFlow> flowInstanceSend(String processDefinitionId) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|