Commit 91815ad5 authored by 刘林's avatar 刘林

fix(JG):转义特殊字符

parent 674601d2
...@@ -79,7 +79,6 @@ import java.util.concurrent.TimeUnit; ...@@ -79,7 +79,6 @@ import java.util.concurrent.TimeUnit;
import java.util.function.Function; import java.util.function.Function;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import static com.alibaba.fastjson.JSON.parseArray; import static com.alibaba.fastjson.JSON.parseArray;
import static com.yeejoin.amos.boot.module.jg.biz.utils.WordTemplateUtils.escapeSpecialCharacters;
/** /**
* 服务实现类 * 服务实现类
...@@ -461,7 +460,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -461,7 +460,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
// jgInstallationNotice.setNoticeReportUrl(url); // jgInstallationNotice.setNoticeReportUrl(url);
// this.updateById(jgInstallationNotice); // this.updateById(jgInstallationNotice);
WordTemplateUtils.templateToPdfDownload(tempFileName, "installation-notification-report.ftl", escapeSpecialCharacters(placeholders), response); WordTemplateUtils.templateToPdfDownload(tempFileName, "installation-notification-report.ftl", placeholders, response);
} }
public Map<String, Object> fullFillTemplateObj(List<Map<String, Object>> informationList, String businessType) { public Map<String, Object> fullFillTemplateObj(List<Map<String, Object>> informationList, String businessType) {
......
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