|
@@ -13,7 +13,7 @@ import org.springblade.core.tool.api.R;
|
|
|
|
|
|
public class FlowConstructor {
|
|
|
|
|
|
- private static final IFlowClient flowClient = SpringUtil.getBean(IFlowClient.class);
|
|
|
+// private static final
|
|
|
|
|
|
private ExampleAbstract exampleAbstract;
|
|
|
|
|
@@ -38,6 +38,8 @@ public class FlowConstructor {
|
|
|
*/
|
|
|
public ExampleInfo create(Long businessId) {
|
|
|
|
|
|
+ IFlowClient flowClient = SpringUtil.getBean(IFlowClient.class);
|
|
|
+
|
|
|
// 获取流程编码
|
|
|
String code = exampleAbstract.getCode();
|
|
|
Assert.notEmpty(code, FlowExplainConstant.CODE_EMPTY);
|