From 9450b481614c7a4f191475d63cfa5c5a3f87141e Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期六, 15 二月 2025 20:40:07 +0800
Subject: [PATCH] 20250215

---
 ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisPDFUtil.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisPDFUtil.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisPDFUtil.java
index 5377e42..f3bddbf 100644
--- a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisPDFUtil.java
+++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisPDFUtil.java
@@ -1538,7 +1538,10 @@
 
         tableQz.addCell(cell);
 
-        File file = new File(value + File.separator + "yinzhang.png");
+        String keyId = DataSourceContextHolder.getDataSourceKey();
+        keyId = keyId.replace("ltkjpeis10_","");
+
+        File file = new File(value + File.separator + keyId + File.separator + "yinzhang.png");
         cell = new PdfPCell();
         cell.setBorder(Rectangle.NO_BORDER);
         cell.setVerticalAlignment(Element.ALIGN_MIDDLE);

--
Gitblit v1.8.0