From 25c90ecca7810a9ea7fa9366cb68d009e5be8c44 Mon Sep 17 00:00:00 2001 From: panshuling321 Date: Thu, 19 May 2022 18:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B8=85=E5=88=86=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/XhpcClearingHistoryOrderMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcClearingHistoryOrderMapper.xml b/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcClearingHistoryOrderMapper.xml index c76720a1..78a2c3c5 100644 --- a/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcClearingHistoryOrderMapper.xml +++ b/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcClearingHistoryOrderMapper.xml @@ -115,7 +115,7 @@ select ho.serial_number as 'serialNumber', ct.name as 'stationName', - ho.total_price as 'totalPrice', + ifnull(sum(ho.act_power_price + ho.act_service_price), 0) as 'totalPrice', ho.start_time as 'startTime', ho.end_time as 'endTime', inu.phone as internetUserPhone,