Commit 287531fe by huangfusuper

避免占位重复解析

parent c544e15d
...@@ -62,7 +62,7 @@ public class CommandAndScriptProcessingMachine implements ProcessingMachine { ...@@ -62,7 +62,7 @@ public class CommandAndScriptProcessingMachine implements ProcessingMachine {
} }
if (paramAndPlaceholderDto != null) { if (paramAndPlaceholderDto != null) {
//执行命令参数的替换 //执行命令参数的替换
command = PlaceholderUtils.commandReplace(command,paramAndPlaceholderDto.getParam()); //command = PlaceholderUtils.commandReplace(command,paramAndPlaceholderDto.getParam());
log.debug("-----命令参数替换完成,命令为:[{}]------------",command); log.debug("-----命令参数替换完成,命令为:[{}]------------",command);
scriptDto.setCommand(command); scriptDto.setCommand(command);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment