From 20b25042b5cd02afdea19bb1d699ac1a1caff003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=A4=B4=E4=BA=BA?= <3076767823@qq.com> Date: Wed, 26 Mar 2025 13:09:25 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=88=86=E5=89=B2=E5=87=BA=E7=8E=B0=E9=BB=91=E8=BE=B9?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dpkj/modules/print/service/impl/RegisterServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dpkj/modules/print/service/impl/RegisterServiceImpl.java b/src/main/java/com/dpkj/modules/print/service/impl/RegisterServiceImpl.java index 25d01fa..77a2143 100644 --- a/src/main/java/com/dpkj/modules/print/service/impl/RegisterServiceImpl.java +++ b/src/main/java/com/dpkj/modules/print/service/impl/RegisterServiceImpl.java @@ -136,8 +136,8 @@ public class RegisterServiceImpl implements PrintService { int pieceHeight = Math.min(MAX_HEIGHT, height - startY); // 创建一个新的 BufferedImage 对象,用于存储切割的部分 - BufferedImage piece = new BufferedImage(FIXED_WIDTH, pieceHeight, BufferedImage.TYPE_INT_RGB); - piece.getGraphics().drawImage(originalImage, 0, 0, FIXED_WIDTH, pieceHeight, 0, startY, FIXED_WIDTH, startY + pieceHeight, null); + BufferedImage piece = new BufferedImage(width, pieceHeight, BufferedImage.TYPE_INT_RGB); + piece.getGraphics().drawImage(originalImage, 0, 0, width, pieceHeight, 0, startY, width, startY + pieceHeight, null); // 保存切割的图片块 File outputFile = new File(saveDir + "/output_" + (i + 1) + ".jpg"); From ffaa06f934090fb0747f1d5de65cb9559c9d90f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=A4=B4=E4=BA=BA?= <3076767823@qq.com> Date: Wed, 26 Mar 2025 13:10:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix=EF=BC=9A=E6=81=A2=E5=A4=8D=E5=8E=9F?= =?UTF-8?q?=E5=A7=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/department.html | 202 ++++--------------- 1 file changed, 37 insertions(+), 165 deletions(-) diff --git a/src/main/resources/templates/department.html b/src/main/resources/templates/department.html index 82526a0..3f6537c 100644 --- a/src/main/resources/templates/department.html +++ b/src/main/resources/templates/department.html @@ -1,185 +1,57 @@ - + 门诊缴费凭证 - -
-
-
************
-
-
+
+
+
************
+
+
-
- ----------------------------------------------------------------------------- -
-
-
-
姓名:
-
性别:
-
年龄:
+
-----------------------------------------------------------------------------
+
+
+ 姓名:
+ 性别: + 年龄:
-
-
门诊号:
-
就诊医生:
-
-
就诊科室:
+
门诊号:
+
就诊医生:
+
就诊科室:
-
- ----------------------------------------------------------------------------- +
-----------------------------------------------------------------------------
+
+
费用总额: 个人支付:
+
实收金额:
+
实收金额:
-
-
-
费用总额:
-
个人支付:
-
-
实收金额:
-
实收金额:
-
-
- ----------------------------------------------------------------------------- -
-
- - - - - - +
-----------------------------------------------------------------------------
+
+
项目名称数量单价小计
+ + + + + - - - - - + + + + +
项目名称数量单价小计
-
- ----------------------------------------------------------------------------- -
-
+
-----------------------------------------------------------------------------
+
终端编号:
打印时间:
-
- 温馨提示
+
+ 温馨提示
1.请取走全部凭条、并妥善保管
2.如果对缴费结算存在疑问,请到人工窗口咨询
From 546f644ffd79fb1e3531b9f629f0c02ae12e9b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=A4=B4=E4=BA=BA?= <3076767823@qq.com> Date: Wed, 26 Mar 2025 13:11:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix=EF=BC=9Apom=E6=96=87=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=AF=B9resource=E7=9A=84=E6=8E=92?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 3edf6c6..0f590a7 100644 --- a/pom.xml +++ b/pom.xml @@ -191,13 +191,13 @@ - - *.yml - *.xml - templates/** - win32-x86-64/** - win32-x86/** - + + + + + + + ${project.build.directory}/output