Commit 2f71cc93 authored by 盖献康's avatar 盖献康

bug - 70845

parent 5b85dcf5
...@@ -229,6 +229,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe ...@@ -229,6 +229,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
// 查询数据 // 查询数据
List<ReviewEnterpriseArchiveViewVO> viewList = reviewEnterpriseArchiveService.view(taskId); List<ReviewEnterpriseArchiveViewVO> viewList = reviewEnterpriseArchiveService.view(taskId);
for (ReviewEnterpriseArchiveViewVO view : viewList) { for (ReviewEnterpriseArchiveViewVO view : viewList) {
if (view.getItems().size() > 0) {
document.writeCell(view.getFileName(), Element.ALIGN_LEFT, 1, view.getItems().size(), table); document.writeCell(view.getFileName(), Element.ALIGN_LEFT, 1, view.getItems().size(), table);
view.getItems().forEach(item -> { view.getItems().forEach(item -> {
document.writeCell(item.getCatalogue(), Element.ALIGN_LEFT, 1, 1, table); document.writeCell(item.getCatalogue(), Element.ALIGN_LEFT, 1, 1, table);
...@@ -237,6 +238,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe ...@@ -237,6 +238,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document.writeCell(item.getKeyPoint(), Element.ALIGN_LEFT, 1, 1, table); document.writeCell(item.getKeyPoint(), Element.ALIGN_LEFT, 1, 1, table);
}); });
} }
}
document.addContent(table); document.addContent(table);
// 最后结尾签字 // 最后结尾签字
PdfPTable signTable = new PdfPTable(new float[]{40, 15}); PdfPTable signTable = new PdfPTable(new float[]{40, 15});
......
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