Commit 67a16fd5 authored by wdy's avatar wdy

Merge branch 'dev' into 'master'

dev - master 40

See merge request !405
parents 287c13a9 49bff061
...@@ -527,6 +527,10 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe ...@@ -527,6 +527,10 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
context.addAll(elementList); context.addAll(elementList);
cell.addElement(context); cell.addElement(context);
useCaseTable.addCell(cell); useCaseTable.addCell(cell);
if (ObjectUtil.isNotEmpty(record.getAttachmentName())) {
document.writeCell("附件", Element.ALIGN_LEFT, 1, 1, useCaseTable);
document.writeCell(record.getAttachmentName(), Element.ALIGN_LEFT, 3, 1, useCaseTable);
}
if (ObjectUtil.isNotEmpty(record.getRemediation())) { if (ObjectUtil.isNotEmpty(record.getRemediation())) {
document.writeCell("修复建议", Element.ALIGN_LEFT, 1, 1, useCaseTable); document.writeCell("修复建议", Element.ALIGN_LEFT, 1, 1, useCaseTable);
document.writeCell(record.getRemediation(), Element.ALIGN_LEFT, 3, 1, useCaseTable); document.writeCell(record.getRemediation(), Element.ALIGN_LEFT, 3, 1, useCaseTable);
......
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