From d2c8b560afebdb25a5b5a2bec2c9cbfc17bf0bc9 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 14 Apr 2025 09:21:51 +0800 Subject: [PATCH] =?UTF-8?q?update=20=20=E6=B2=B3=E5=8D=97=E7=9C=81?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E7=AB=99=E7=82=B9=E5=BB=BA=E8=AE=BE=E5=9C=BA?= =?UTF-8?q?=E6=89=80=E4=BF=A1=E6=81=AF=E5=81=9A=E5=AF=B9=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/service/impl/HeNanPlatformServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/HeNanPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/HeNanPlatformServiceImpl.java index f8d4ec558..f8d2d5e59 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/HeNanPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/HeNanPlatformServiceImpl.java @@ -202,7 +202,11 @@ public class HeNanPlatformServiceImpl implements ThirdPartyPlatformService { stationInfo.setParkNums(Integer.parseInt(pileStationInfo.getParkNums())); stationInfo.setStationLng(new BigDecimal(pileStationInfo.getStationLng())); stationInfo.setStationLat(new BigDecimal(pileStationInfo.getStationLat())); - stationInfo.setConstruction(Integer.parseInt(pileStationInfo.getConstruction())); + int construction = Integer.parseInt(pileStationInfo.getConstruction()); + if (construction == 12) { + construction = 23; + } + stationInfo.setConstruction(construction); // 停车费率描述 if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) { stationInfo.setParkFee(pileStationInfo.getParkFeeDescribe());