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,