From 0892d843cd394f383ff50f480f7f22f2ec3829bc Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期五, 27 六月 2025 20:24:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ltkj-common/src/main/java/com/ltkj/common/utils/PDFDocumentUtil.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ltkj-common/src/main/java/com/ltkj/common/utils/PDFDocumentUtil.java b/ltkj-common/src/main/java/com/ltkj/common/utils/PDFDocumentUtil.java index 7bef253..1f09a33 100644 --- a/ltkj-common/src/main/java/com/ltkj/common/utils/PDFDocumentUtil.java +++ b/ltkj-common/src/main/java/com/ltkj/common/utils/PDFDocumentUtil.java @@ -95,7 +95,7 @@ map.put(EncodeHintType.CHARACTER_SET,"utf-8"); BitMatrix encode = null; try { - encode = new MultiFormatWriter().encode(tjNumber, BarcodeFormat.CODE_128, 300, 100, map); + encode = new MultiFormatWriter().encode(tjNumber, BarcodeFormat.CODE_128, 500, 100, map); } catch (WriterException e) { e.printStackTrace(); } @@ -243,7 +243,7 @@ * @throws DocumentException * @throws IOException */ - public static void makeTjInfo(Document document,List<Map<String ,String>> data) throws DocumentException, IOException { + public static void makeTjInfo(Document document,List<Map<String ,Object>> data) throws DocumentException, IOException { PdfPTable table1 = new PdfPTable(7); table1.setWidthPercentage(100); float[] columnWidths = {1.5f, 3, 3, 6, 1.5f, 3, 3}; -- Gitblit v1.8.0