diff --git a/jsowell-netty/src/main/java/com/jsowell/netty/handler/TransactionRecordsRequestHandler.java b/jsowell-netty/src/main/java/com/jsowell/netty/handler/TransactionRecordsRequestHandler.java index 6f5cc2bce..ba4dd8f3d 100644 --- a/jsowell-netty/src/main/java/com/jsowell/netty/handler/TransactionRecordsRequestHandler.java +++ b/jsowell-netty/src/main/java/com/jsowell/netty/handler/TransactionRecordsRequestHandler.java @@ -670,12 +670,12 @@ public class TransactionRecordsRequestHandler extends AbstractHandler { // 给车辆绑定优惠券 try { - BigDecimal totalElectricity = new BigDecimal(data.getTotalElectricity()); - if (totalElectricity.compareTo(BigDecimal.TEN) > 0) { - // 充电度数大于10度 - String bindResult = bindCoupon(orderBasicInfo); - log.info("绑定优惠券 订单信息:{}, result:{}", orderBasicInfo, bindResult); - } + // BigDecimal totalElectricity = new BigDecimal(data.getTotalElectricity()); + // if (totalElectricity.compareTo(BigDecimal.TEN) > 0) { + // // 充电度数大于10度 + // } + String bindResult = bindCoupon(orderBasicInfo); + log.info("绑定优惠券 订单信息:{}, result:{}", orderBasicInfo, bindResult); } catch (BusinessException e) { log.error("绑定优惠券 error, code:{}, msg:{}", e.getCode(), e.getMessage()); } catch (Exception e) {