Commit 592343e1 by huangfusuper

使用工作流名称开启工作流

parent fcd1f6f0
...@@ -97,7 +97,11 @@ public class PlaceholderUtils { ...@@ -97,7 +97,11 @@ public class PlaceholderUtils {
* @return 替换后的参数 * @return 替换后的参数
*/ */
public static String paramPlaceholder(String runParam, String thisDate){ public static String paramPlaceholder(String runParam, String thisDate){
ScriptParamAndPlaceholderDto scriptParamAndPlaceholderDto = JSON.parseObject(runParam, ScriptParamAndPlaceholderDto.class); ScriptParamAndPlaceholderDto scriptParamAndPlaceholderDto = JSON.parseObject(runParam, ScriptParamAndPlaceholderDto.class);
if(scriptParamAndPlaceholderDto == null) {
return null;
}
Map<String, String> placeholder = scriptParamAndPlaceholderDto.getPlaceholder(); Map<String, String> placeholder = scriptParamAndPlaceholderDto.getPlaceholder();
Map<String, String> param = scriptParamAndPlaceholderDto.getParam(); Map<String, String> param = scriptParamAndPlaceholderDto.getParam();
......
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