update 订单列表页汇总数据结算金额换为实收金额

This commit is contained in:
Lemon
2025-08-05 10:39:48 +08:00
parent 68ebfa6bb1
commit 0025eb9f90
2 changed files with 4 additions and 0 deletions

View File

@@ -1952,6 +1952,7 @@
select
IFNULL(sum(t1.order_amount),0) as sumOrderAmount,
IFNULL(sum(t4.total_used_electricity),0) as sumUsedElectricity,
IFNULL(sum(t1.actual_received_amount), 0) as sumActualReceivedAmount,
IFNULL(sum(t1.settle_amount),0) as sumSettleAmount
from order_basic_info t1
left join member_basic_info t2 on t1.member_id = t2.member_id and t2.del_flag = '0'