From c766d5fc16c1fb1c40087d5254cf50dad24ac324 Mon Sep 17 00:00:00 2001 From: Lemon Date: Thu, 18 Jul 2024 08:12:30 +0800 Subject: [PATCH] =?UTF-8?q?VIN=E3=80=81=E5=8D=A1=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=85=85=E7=94=B5=E9=BB=98=E8=AE=A4=E9=87=91=E9=A2=9D=E6=94=B9?= =?UTF-8?q?=E4=B8=BA500=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/jsowell/common/constant/Constants.java | 2 ++ .../jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java | 2 +- .../jsowell/pile/service/impl/PileStationInfoServiceImpl.java | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java index 74a7669dc..36948a661 100644 --- a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java +++ b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java @@ -20,6 +20,8 @@ public class Constants { // 余额支付默认最大金额 public static final BigDecimal BALANCE_PAY_MAX_AMOUNT = new BigDecimal(Constants.TWO_HUNDRED); + public static final BigDecimal BALANCE_PAY_MAX_AMOUNT_NEW = new BigDecimal(Constants.FIVE_HUNDRED); + // 联联平台最大启动金额 public static final BigDecimal LIAN_LIAN_MAX_AMOUNT = new BigDecimal(Constants.THREE_HUNDRED_FIFTY); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java index de6b1c57d..d291404ad 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java @@ -2423,7 +2423,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService { logger.info("充电桩主动申请启动充电生成订单 余额不足, memberId:{}, MemberVO:{}", dto.getMemberId(), JSON.toJSONString(memberVO)); throw new BusinessException(ReturnCodeEnum.CODE_BALANCE_IS_INSUFFICIENT); } - BigDecimal defaultAmount = Constants.BALANCE_PAY_MAX_AMOUNT; + BigDecimal defaultAmount = Constants.BALANCE_PAY_MAX_AMOUNT_NEW; if (accountBalance.compareTo(defaultAmount) > 0) { accountBalance = defaultAmount; } diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java index e226317ec..046077b06 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java @@ -630,6 +630,7 @@ public class PileStationInfoServiceImpl implements PileStationInfoService { */ @Override public List getStationStatisticsInfos(String merchantId) { + // 根据运营商id查出所有站点id return null; }