Commit 2e6673e0 by 吕明尚

修改充值回调

parent e6f88675
......@@ -177,13 +177,13 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
ConsumerWallet consumerWallet = consumerWalletService.getOne(new LambdaQueryWrapper<ConsumerWallet>().eq(ConsumerWallet::getConsumerId, recharge.getConsumerId()));
//修改会员钱包
consumerWalletService.editConsumerWallet(consumerWallet, recharge, one);
if (one.getIsRecharge().equals(YesNoEnum.no.getIndex()) && one.getIsRights().equals(YesNoEnum.no.getIndex())) {
consumerWalletService.accumulatedConsumptionStatistics(recharge.getConsumerId());
}
ConsumerMember consumerMember = new ConsumerMember();
consumerMember.setIsRecharge(YesNoEnum.yes.getIndex());
consumerMember.setId(one.getId());
consumerMemberService.updateConsumerMember(consumerMember);
if (one.getIsRecharge().equals(YesNoEnum.no.getIndex()) && one.getIsRights().equals(YesNoEnum.no.getIndex())) {
consumerWalletService.accumulatedConsumptionStatistics(recharge.getConsumerId());
}
}
updateRecharge(recharge);
}
......
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