|
|
|
@@ -208,7 +208,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
int baseScore = busRule.getInteger(WxScoreRules.SCORE); // 消费增长积分 |
|
|
|
|
|
|
|
// 4. 计算成长值 |
|
|
|
Double dScoreT = Math.ceil(order.getPayment() * 1.0D / priceCondition * baseScore); |
|
|
|
Double dScoreT = Math.floor(order.getPayment() * 1.0D / priceCondition * baseScore); |
|
|
|
addScoreNumber = dScoreT.intValue(); |
|
|
|
|
|
|
|
// 5. 增长的成长值 |
|
|
|
|