Commit ee93f288 authored by KeYong's avatar KeYong

报告修改换行

parent bdb57240
...@@ -157,7 +157,8 @@ public class PlanReportServiceImpl extends ServiceImpl<PlanReportMapper, PlanRep ...@@ -157,7 +157,8 @@ public class PlanReportServiceImpl extends ServiceImpl<PlanReportMapper, PlanRep
// 演习题目 // 演习题目
map.put("drill_topic", report.getDrillTopic()); map.put("drill_topic", report.getDrillTopic());
// 处理过程 // 处理过程
map.put("handle_process", StringUtil.isNotEmpty(report.getHandleProcess()) ? report.getHandleProcess().replaceAll("\n", "&#10;") : ""); map.put("handle_process", StringUtil.isNotEmpty(report.getHandleProcess()) ? report.getHandleProcess()
.replaceAll("\n", "<w:br/>") : "");
// 预案开始时间 // 预案开始时间
map.put("start_time", dateStat.format(operationRecord.getStartTime())); map.put("start_time", dateStat.format(operationRecord.getStartTime()));
map.put("first_content", firstContent); map.put("first_content", firstContent);
......
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