diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java index fa6aaacff..79c3331ca 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java @@ -694,7 +694,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { BigDecimal bigDecimal = BigDecimal.valueOf(gasolineRule1); if (paymentActiveDTO.getAmount().compareTo(bigDecimal)>=0){ //升数 - Integer gasolineRule3 = jsonObject.getInteger("dieselRule3"); + Integer gasolineRule3 = jsonObject.getInteger("dieselRule2"); BigDecimal bigDecimal2 = BigDecimal.valueOf(gasolineRule3); paymentActiveVO.setMemberFavorableAmount(bigDecimal2); } @@ -728,7 +728,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService { BigDecimal bigDecimal = BigDecimal.valueOf(gasolineRule1); if (paymentActiveDTO.getAmount().compareTo(bigDecimal)>=0){ //升数 - Integer gasolineRule3 = jsonObject.getInteger("naturalGas3"); + Integer gasolineRule3 = jsonObject.getInteger("naturalGas2"); BigDecimal bigDecimal2 = BigDecimal.valueOf(gasolineRule3); paymentActiveVO.setMemberFavorableAmount(bigDecimal2); }