mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
bug #I5NH56 switch组件对于cglib代理过的bean目前处理的不够全面
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
*/
|
||||
package com.yomahub.liteflow.core;
|
||||
|
||||
import com.yomahub.liteflow.util.LiteFlowProxyUtil;
|
||||
|
||||
/**
|
||||
* 条件路由节点抽象类
|
||||
* @author Bryan.Zhang
|
||||
@@ -16,7 +18,8 @@ public abstract class NodeSwitchComponent extends NodeComponent {
|
||||
@Override
|
||||
public void process() throws Exception {
|
||||
String nodeId = this.processSwitch();
|
||||
this.getSlot().setSwitchResult(this.getClass().getName(), nodeId);
|
||||
Class<?> originalClass = LiteFlowProxyUtil.getUserClass(this.getClass());
|
||||
this.getSlot().setSwitchResult(originalClass.getName(), nodeId);
|
||||
}
|
||||
|
||||
//用以返回路由节点的beanId
|
||||
|
||||
Reference in New Issue
Block a user