feature #I4GS07 代码动态组件装配的特性

This commit is contained in:
bryan31
2022-01-19 21:50:57 +08:00
parent b5caa6b218
commit a9ba91cdc7

View File

@@ -35,13 +35,9 @@ public class LiteflowMainAutoConfiguration {
@Bean
public FlowExecutor flowExecutor(LiteflowConfig liteflowConfig) {
if (StrUtil.isNotBlank(liteflowConfig.getRuleSource())) {
FlowExecutor flowExecutor = new FlowExecutor();
flowExecutor.setLiteflowConfig(liteflowConfig);
return flowExecutor;
} else {
return null;
}
FlowExecutor flowExecutor = new FlowExecutor();
flowExecutor.setLiteflowConfig(liteflowConfig);
return flowExecutor;
}
@Bean