From d7a9c17bf959c71093cd3c856f88aafef67e5858 Mon Sep 17 00:00:00 2001 From: Lemon Date: Thu, 24 Jul 2025 15:07:05 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20=20=E9=AB=98=E5=BE=B7=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E7=AB=99=E7=82=B9=E4=BF=A1=E6=81=AF=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E4=B9=9F=E4=B8=8D=E4=BC=9A?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/thirdparty/amap/service/impl/AMapServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/amap/service/impl/AMapServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/amap/service/impl/AMapServiceImpl.java index fc0d1ef30..d008acbdb 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/amap/service/impl/AMapServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/amap/service/impl/AMapServiceImpl.java @@ -195,6 +195,9 @@ public class AMapServiceImpl implements AMapService { aMapInfo.setPriceChargingInfo(aMapPriceChargingInfos); // 站点设备信息 List equipmentInfos = equipmentInfoMap.get(stationId); + if (CollectionUtils.isEmpty(equipmentInfos)) { + continue; + } aMapInfo.setEquipmentInfos(equipmentInfos); // 站点充电优惠价格(目前无优惠措施) AMapDiscountPriceChargingInfo info;