Commit 2a4036a8 by 吕明尚

Merge branch 'dev' into test

parents a7f87f32 647eb012
...@@ -650,6 +650,11 @@ public class RedisTask { ...@@ -650,6 +650,11 @@ public class RedisTask {
consumerMember.setMembershipProgress(subtract); consumerMember.setMembershipProgress(subtract);
updateList.add(consumerMember); updateList.add(consumerMember);
return; return;
} else if (subtract.compareTo(BigDecimal.valueOf(configMap.get(Collections.max(configMap.keySet())).getLimitRequirements())) >= 0) {
consumerMember.setMembershipLevel(Collections.max(configMap.keySet()));
consumerMember.setMembershipProgress(subtract);
updateList.add(consumerMember);
return;
} }
} }
} }
......
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