Commit 79a27bc1 by 程裕兵

feat:pay message

parent 853516d0
...@@ -81,7 +81,8 @@ ...@@ -81,7 +81,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, 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 sum(fee) as total_fee, count(id) as total
from studio_cashier_record from studio_cashier_record
<where> <where>
......
...@@ -244,7 +244,7 @@ public class PayServiceImpl implements PayService { ...@@ -244,7 +244,7 @@ public class PayServiceImpl implements PayService {
}).collect(Collectors.toList()); }).collect(Collectors.toList());
SendCommonMsgEvent event = new SendCommonMsgEvent(); SendCommonMsgEvent event = new SendCommonMsgEvent();
event.setChannelEnums(Lists.newArrayList(MsgChannelEnum.SMS)); event.setChannelEnums(Lists.newArrayList(MsgChannelEnum.APP_PUSH));
event.setCovertTarget(true); event.setCovertTarget(true);
event.setEventId(IdWorker.getId()); event.setEventId(IdWorker.getId());
event.setSourceId(studioId); 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