Commit 7ad30d36 by 程裕兵

feat:auto login fitness

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