Explorar el Código

[成长值][修改]:成长值获取地板原则

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
9b94cb0d74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java Ver fichero

@@ -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. 增长的成长值


Cargando…
Cancelar
Guardar