Commit 311e5d30 by 吕明尚

增加支付回调

parent 8e8eda65
...@@ -296,6 +296,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde ...@@ -296,6 +296,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
if (ObjectUtil.isNotEmpty(one) && consumerMember.getMembershipProgress().compareTo(BigDecimal.valueOf(one.getLimitRequirements())) >= 0) { if (ObjectUtil.isNotEmpty(one) && consumerMember.getMembershipProgress().compareTo(BigDecimal.valueOf(one.getLimitRequirements())) >= 0) {
consumerMember.setMembershipLevel(consumerMember.getMembershipLevel() + 1L); consumerMember.setMembershipLevel(consumerMember.getMembershipLevel() + 1L);
// consumerMember.setMemberConfigId(one.getId()); // consumerMember.setMemberConfigId(one.getId());
consumerMemberService.updateConsumerMember(consumerMember);
} }
} }
} }
......
...@@ -184,9 +184,11 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i ...@@ -184,9 +184,11 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
//修改会员钱包 //修改会员钱包
consumerWalletService.editConsumerWallet(consumerWallet, recharge, one); consumerWalletService.editConsumerWallet(consumerWallet, recharge, one);
} }
} } else {
one.setIsRecharge(YesNoEnum.yes.getIndex()); one.setIsRecharge(YesNoEnum.yes.getIndex());
consumerMemberService.updateConsumerMember(one); consumerMemberService.updateConsumerMember(one);
consumerWalletService.editConsumerWallet(consumerWallet, recharge, one);
}
} }
updateRecharge(recharge); 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