From d479583f49358e79f8565dfa28d3cbddbdc8d8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Sat, 26 Oct 2024 14:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E9=93=B6=E5=8F=B0=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E5=B0=8F=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fuint/business/printer/template/PrintCardValueReport.java | 1 + .../setting/service/impl/ReceiptPrintingServiceImpl.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintCardValueReport.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintCardValueReport.java index 285b2198d..2830f394d 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintCardValueReport.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintCardValueReport.java @@ -184,6 +184,7 @@ public class PrintCardValueReport { } receiptPrinting.setPrintTemplateDown(receiptPrinting.getPrintTemplateDown(). replace("ttttt",formattedDateTime)); + System.out.println(receiptPrinting.getPrintTemplateTop()+sb.toString()+receiptPrinting.getPrintTemplateDown()); return receiptPrinting.getPrintTemplateTop()+sb.toString()+receiptPrinting.getPrintTemplateDown(); } public static Map getHandover() { diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/ReceiptPrintingServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/ReceiptPrintingServiceImpl.java index dc0af09b7..a15420751 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/ReceiptPrintingServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/ReceiptPrintingServiceImpl.java @@ -83,6 +83,7 @@ public class ReceiptPrintingServiceImpl extends ServiceImpl1"+"\r\n"); sb.append("----------------------------\r\n"); String mm=setIice(receiptPrinting.getCodeImage(),nowAccountInfo.getStoreId()); if ("18".equals(mm)) { @@ -116,7 +117,7 @@ public class ReceiptPrintingServiceImpl extends ServiceImpllogo_state:0"); + sb.append("0"+"\r\n"); } if(receiptPrinting.getHeadfootSet().contains("0")){ sb.append("
"+nowAccountInfo.getStoreName() +"
");