From 82bd1862ee5e147bb3b2589325698e8bb6099dbd Mon Sep 17 00:00:00 2001 From: Lemon Date: Sat, 6 Jan 2024 13:41:31 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=B8=8B=E5=8F=91=E5=81=9C=E8=BD=A6?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E4=B8=8D=E5=86=8D=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E5=85=85=E7=94=B5=E5=BA=A6=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../handler/TransactionRecordsRequestHandler.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) {