Commit 49bff061 authored by wdy's avatar wdy

Merge branch 'wangdingyi' into 'dev'

车型试验原始记录

See merge request !404
parents e8e9a3db f4a9f7f4
......@@ -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);
......
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