feat(文档拆分): 导出完善
This commit is contained in:
+2
-3
@@ -3607,12 +3607,11 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
row1.getCell(cellNum).setCellStyle(cellStyleLink);
|
||||
}
|
||||
cell2.setCellValue(content); // IllegalArgumentException异常,excel单元格最大字符长度有限制
|
||||
}
|
||||
else if ("interpretation_articles".equals(fieldList.get(cellNum))) {
|
||||
} else if ("interpretation_articles".equals(fieldList.get(cellNum))) {
|
||||
// 条文解读特殊处理
|
||||
HSSFCell cell2 = row1.createCell(cellNum);
|
||||
row1.getCell(cellNum).setCellStyle(cellStyle);
|
||||
String content = (String) allItemsList.get(0).get("interpretation_articles");
|
||||
String content = (String) allItemsList.get(rowNum).get("interpretation_articles");
|
||||
if (StringUtils.isNotEmpty(content)) {
|
||||
content = content.replaceAll("<p>","");
|
||||
content = content.replaceAll("</p>","\n");
|
||||
|
||||
Reference in New Issue
Block a user