mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-19 15:08:09 +08:00
初步完成 liteflow-solon-plugin 适配
This commit is contained in:
@@ -36,11 +36,7 @@ public class XPluginImpl implements Plugin {
|
||||
//订阅 NodeComponent 组件
|
||||
context.subWrapsOfType(NodeComponent.class, bw -> {
|
||||
NodeComponent node1 = bw.raw();
|
||||
|
||||
if (Utils.isNotEmpty(bw.name())) {
|
||||
node1.setName(bw.name());
|
||||
node1.setNodeId(bw.name());
|
||||
}
|
||||
node1.setNodeId(bw.name());
|
||||
|
||||
FlowBus.addSpringScanNode(bw.name(), bw.raw());
|
||||
});
|
||||
|
||||
@@ -19,7 +19,7 @@ public class SolonLiteflowComponentSupport implements LiteflowComponentSupport {
|
||||
if (ObjectUtil.isNotNull(liteflowComponent)) {
|
||||
return liteflowComponent.name();
|
||||
}else{
|
||||
return nodeComponent.getNodeId();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user