Commit 7ad30d36 by 程裕兵

feat:auto login fitness

parent 511caf8c
......@@ -25,6 +25,9 @@ public class StudioCashierStatisticVO {
@ApiModelProperty("总实际金额(元)")
private BigDecimal totalActualAmount;
@ApiModelProperty("总手续费(元)")
private BigDecimal totalFee;
@ApiModelProperty("总条数")
private Long total;
......
......@@ -48,8 +48,8 @@
</select>
<select id="statistic" resultType="com.jiejing.fitness.finance.api.cashier.vo.StudioCashierStatisticVO">
select sum(trans_amount) as total_trans_amount, sum(actual_amount) as total_actual_amount, count(id)
astotal
select sum(trans_amount) as total_trans_amount, sum(actual_amount) as total_actual_amount,
sum(fee) as total_fee, count(id) as total
from studio_cashier_record
<where>
<if test="query.studioId != null">
......
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