From 955a66eec02b8c3fde019110d9c1b604eac017e5 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期四, 13 二月 2025 09:43:26 +0800
Subject: [PATCH] zjh20250213

---
 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