Commit c79d3981 authored by 赵啸非's avatar 赵啸非

添加应用配置列表

parent 9e9bb40b
Pipeline #2925 canceled with stages
...@@ -355,6 +355,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD ...@@ -355,6 +355,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
//转换表单参数为map集合 //转换表单参数为map集合
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
ConfigureBuilder builder = Configure.builder(); ConfigureBuilder builder = Configure.builder();
builder.useSpringEL();
builder.buildGrammerRegex(RegexUtils.createGeneral("{{", "}}")); builder.buildGrammerRegex(RegexUtils.createGeneral("{{", "}}"));
try { try {
Map<String, Object> data = mapper.readValue(docFormVo.getFormContent(), Map.class); Map<String, Object> data = mapper.readValue(docFormVo.getFormContent(), Map.class);
...@@ -432,7 +433,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD ...@@ -432,7 +433,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
if (!ObjectUtils.isEmpty(docTemplateEntity)) { if (!ObjectUtils.isEmpty(docTemplateEntity)) {
String path = rootPath + docTemplateEntity.getTemplatePath(); String path = rootPath + docTemplateEntity.getTemplatePath();
String templateName = FileUtil.getName(path); String templateName = FileUtil.getName(path);
Configure config = builder.useSpringEL().build(); Configure config = builder.build();
XWPFTemplate template = null; XWPFTemplate template = null;
ByteArrayOutputStream byteArrayOutputStream = null; ByteArrayOutputStream byteArrayOutputStream = null;
......
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