Commit aa00f5e64c83c5ebfd9ccc1398b9672d6e2145c9
1 parent
b70a3506
feat: ERP升级
1、生产指示书PDF文件生成
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/order/erp/common/utils/EasyPdfUtils.java
... | ... | @@ -89,7 +89,7 @@ public class EasyPdfUtils { |
89 | 89 | // 表格 |
90 | 90 | XEasyPdfTable table = createTable(pdfVOList); |
91 | 91 | // 创建页面 |
92 | - XEasyPdfPage page = XEasyPdfHandler.Page.build(XEasyPdfPageRectangle.create(1700F, 1000F), table); | |
92 | + XEasyPdfPage page = XEasyPdfHandler.Page.build(XEasyPdfPageRectangle.create(1700F, pdfVOList.size() * 100F), table); | |
93 | 93 | // 将页面添加到文档 |
94 | 94 | document.addPage(page); |
95 | 95 | // 添加页脚 | ... | ... |