Commit 79a27bc1 by 程裕兵

feat:pay message

parent 853516d0
......@@ -81,8 +81,9 @@
</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,
sum(fee) as total_fee, count(id) as total
select sum(trans_amount) as total_trans_amount,
sum(case when trans_state = 'PAY_IN' then actual_amount else 0 end) as total_actual_amount,
sum(fee) as total_fee, count(id) as total
from studio_cashier_record
<where>
and trans_type = 'PAY'
......
......@@ -244,7 +244,7 @@ public class PayServiceImpl implements PayService {
}).collect(Collectors.toList());
SendCommonMsgEvent event = new SendCommonMsgEvent();
event.setChannelEnums(Lists.newArrayList(MsgChannelEnum.SMS));
event.setChannelEnums(Lists.newArrayList(MsgChannelEnum.APP_PUSH));
event.setCovertTarget(true);
event.setEventId(IdWorker.getId());
event.setSourceId(studioId);
......
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