From c2229eb2288f3088a81fbb7f295ebc3ea4c940ee 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: Tue, 2 Apr 2024 17:23:09 +0800
Subject: [PATCH] bug
---
fuintAdmin/src/views/staff/list.vue | 2 +-
.../order/mapper/xml/OilOrderMapper.xml | 2 ++
.../order/service/impl/OilOrderServiceImpl.java | 4 ++--
.../controller/BackendLoginController.java | 17 +++++++++++++++++
4 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/fuintAdmin/src/views/staff/list.vue b/fuintAdmin/src/views/staff/list.vue
index afb9d21cb..c414e742d 100644
--- a/fuintAdmin/src/views/staff/list.vue
+++ b/fuintAdmin/src/views/staff/list.vue
@@ -327,7 +327,7 @@
厂商名称
- 二维码SN号
+ 二维码ID
码牌SN号
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml
index cb73d4ffb..fc11cd44a 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml
@@ -223,6 +223,8 @@
FROM
oil_order
WHERE
+ order_status = 'paid'
+ and
store_id = #{storeId}
) oil_order ON date_range.date = oil_order.order_date
WHERE
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java
index 69a85e656..090e39392 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java
@@ -1743,8 +1743,8 @@ return stringDoubleMap;
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
Integer storeId = nowAccountInfo.getStoreId();
-
- return oilOrderMapper.oilSales(storeId);
+ List