Commit e7d70189 by 吕明尚

修改充值回调

parent e2aebb1f
...@@ -174,7 +174,7 @@ public class ConsumerWalletServiceImpl extends ServiceImpl<ConsumerWalletMapper, ...@@ -174,7 +174,7 @@ public class ConsumerWalletServiceImpl extends ServiceImpl<ConsumerWalletMapper,
.eq(MemberConfig::getMembershipLevel, one.getMembershipLevel() + 1L)); .eq(MemberConfig::getMembershipLevel, one.getMembershipLevel() + 1L));
if (ObjectUtil.isNotEmpty(newOne) && one.getMembershipProgress().compareTo(BigDecimal.valueOf(newOne.getLimitRequirements())) >= 0) { if (ObjectUtil.isNotEmpty(newOne) && one.getMembershipProgress().compareTo(BigDecimal.valueOf(newOne.getLimitRequirements())) >= 0) {
one.setMembershipLevel(one.getMembershipLevel() + 1L); one.setMembershipLevel(one.getMembershipLevel() + 1L);
one.setMemberConfigId(one.getId()); one.setMemberConfigId(newOne.getId());
consumerMemberService.updateConsumerMember(one); consumerMemberService.updateConsumerMember(one);
} }
} }
......
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