Commit 74e022bb authored by Smile's avatar Smile Committed by wux

会员等级自动赋值,为0时出错

parent b7dc2e4e
......@@ -107,7 +107,7 @@ public class userLevelDetailsTask implements JobHandler {
reduceScore+=scoreLog.getScoreCount();
}
}
if (addScore>reduceScore){
if (addScore>=reduceScore){
int score = addScore - reduceScore;
log.info("符合规则积分数量: {}", score);
if (score>=userLevelConfigDO.getLowerCount()){
......
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