Explorar el Código

[成长值][修改]:添加成长值打印

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

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

@@ -210,6 +210,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService {
// 4. 计算成长值
Double dScoreT = Math.floor(order.getPayment() * 1.0D / priceCondition * baseScore);
addScoreNumber = dScoreT.intValue();
logger.info("RULE:" + busRule.toJSONString() + "\nAddScore: " + addScoreNumber);

// 5. 增长的成长值
updateScore(order.getcUserId(), addScoreNumber);


Cargando…
Cancelar
Guardar