enhancement #I5ULVA 修正不规范的问题,chain的name和id混用,不太严谨

This commit is contained in:
everywhere.z 2022-11-19 11:32:10 +08:00
parent 6fed03f225
commit 196c172048
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ public class SwitchCondition extends Condition{
}
public void addTargetItem(Executable executable){
this.targetMap.put(executable.getExecuteName(), executable);
this.targetMap.put(executable.getExecuteId(), executable);
}
public void setSwitchNode(Node switchNode) {

View File

@ -77,7 +77,7 @@ public class GroovyScriptExecutor implements ScriptExecutor {
metaMap.put("requestData", slot.getRequestData());
//如果有隐式流程则放入隐式流程的流程参数
Object subRequestData = slot.getChainReqData(wrap.getCurrChainName());
Object subRequestData = slot.getChainReqData(wrap.getCurrChainId());
if (ObjectUtil.isNotNull(subRequestData)){
metaMap.put("subRequestData", subRequestData);
}