From 57206c4ad637d93de85b0465276c58110e574acb Mon Sep 17 00:00:00 2001
From: sw <17615834396@163.com>
Date: Tue, 5 Nov 2024 15:41:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B2=B9=E7=AB=99=E8=B4=A2=E5=8A=A1=E6=8A=A5?=
=?UTF-8?q?=E8=A1=A8=EF=BC=8C=E4=BA=A4=E6=98=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../printer/mapper/xml/PrintDeviceInfoMapper.xml | 2 +-
.../printer/template/PrintOilOrderReport.java | 14 +++++++-------
.../cashier/orderComponents/order_Cashier.vue | 11 ++++++-----
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml
index 87de25153..7e07aa89c 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml
@@ -142,7 +142,7 @@
select
id,machine_code,msign,device_name,user_id,app_key,app_secret,app_public_key,platform_public_key,access_token,payment,create_time,update_time,create_by,update_by,store_id ,acquiesce from print_device_info
- where store_id = #{storeId} and acquiesce = true limit 1
+ where store_id = #{storeId} and acquiesce = 0 order by create_time ASC limit 1
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java
index 96dcf0c11..7bab58274 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java
@@ -154,9 +154,9 @@ public class PrintOilOrderReport {
sb.append("
油品 金额 ");
List> o = (List>)handover.get("oilOrder");
- for (Map stringStringMap : o) {
- sb.append(""+stringStringMap.get("oilName")+" ");
- sb.append("¥"+ stringStringMap.get("amount")+" ");
+ for (Map stringStringMap1 : o) {
+ sb.append(""+stringStringMap1.get("oilName")+" ");
+ sb.append("¥"+ stringStringMap1.get("amount")+" ");
}
sb.append("
");
sb.append("--------------------------------\r\n");
@@ -165,11 +165,11 @@ public class PrintOilOrderReport {
if (ObjectUtil.isNotEmpty(handover.get("goodsOrder"))) {
sb.append("商品 数量 单价 ");
List> o = (List>)handover.get("goodsOrder");
- for (Map stringStringMap : o) {
- sb.append(""+stringStringMap.get("oilName")+" ");
- sb.append(""+stringStringMap.get("unit")+" ");
+ for (Map stringStringMap2 : o) {
+ sb.append(""+stringStringMap2.get("oilName")+" ");
+ sb.append(""+stringStringMap2.get("unit")+" ");
- sb.append(""+ stringStringMap.get("amount")+" ");
+ sb.append(""+ stringStringMap2.get("amount")+" ");
}
sb.append("
");
sb.append("--------------------------------\r\n");
diff --git a/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue b/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue
index 580f1e1e5..7b6ad13b4 100644
--- a/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue
+++ b/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue
@@ -186,7 +186,7 @@
- 详情
@@ -195,13 +195,13 @@
-
补打小票
-