mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement #I691LD 对beforeProcess和afterProcess两个方法进行参数优化
This commit is contained in:
@@ -20,12 +20,12 @@ public class CmpConfig {
|
||||
}
|
||||
|
||||
@LiteflowMethod(value = LiteFlowMethodEnum.BEFORE_PROCESS,nodeId = "a")
|
||||
public void beforeAcmp(String nodeId, Slot slot){
|
||||
public void beforeAcmp(NodeComponent bindCmp){
|
||||
System.out.println("before A");
|
||||
}
|
||||
|
||||
@LiteflowMethod(value = LiteFlowMethodEnum.AFTER_PROCESS,nodeId = "a")
|
||||
public void afterAcmp(String nodeId, Slot slot){
|
||||
public void afterAcmp(NodeComponent bindCmp){
|
||||
System.out.println("after A");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user