From ec20e7cae1b37f397b8706102d3b3f2b049228c0 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 03 四月 2025 17:58:01 +0800 Subject: [PATCH] 登录密码校验同步登记生成的密码 --- 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