Commit 072d62ef by 程裕兵

feat:refund statistic

parent 75d37e07
......@@ -151,7 +151,7 @@
resultType="com.jiejing.fitness.finance.api.cashier.vo.StudioCashierStatisticVO">
select sum(trans_amount) as total_trans_amount,
sum(actual_amount) as total_actual_amount,
sum(case when trans_state = 'REFUND_SUCCESS' then fee else 0 end) as total_fee,
sum(fee) as total_fee,
count(id) as total
from studio_cashier_record
<where>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment