车型试验原始记录
... | ... | @@ -527,6 +527,10 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe |
context.addAll(elementList); | ||
cell.addElement(context); | ||
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())) { | ||
document.writeCell("修复建议", Element.ALIGN_LEFT, 1, 1, useCaseTable); | ||
document.writeCell(record.getRemediation(), Element.ALIGN_LEFT, 3, 1, useCaseTable); | ||
... | ... |