FreemarkerUtil { public static String parse(String script) { return parse(script, getDefaultParamMap(), getDefaultConf()); }  static String parse(String script); static String parse(String script, Map<String, Object> paramMap); static String parse(String script, Map<String, Object> paramMap, Configuration conf); static Configuration getDefaultConf(); static Map<String, Object> getDefaultParamMap();  }
@Test public void testParse() { String script = "meteor.dwd_pay_consume_${sysTime?string('yyyyMMdd')}"; String result = FreemarkerUtil.parse(script); System.out.println(result); script = "xx,xx,${DateUtils.addDays(sysTime, -1)?string('yyyyMMddHH')}"; result = FreemarkerUtil.parse(script); System.out.println(result); }