From 1475500dd148a47776f2eef51ff5a83a3eb44cb3 Mon Sep 17 00:00:00 2001 From: Lemon Date: Fri, 19 Jan 2024 15:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E7=94=B5=E8=81=94=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=20queryStationsInfo=20=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E5=9B=BE=E7=89=87=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../thirdparty/zhongdianlian/domain/ZDLStationInfo.java | 3 +++ .../zhongdianlian/service/impl/ZDLServiceImpl.java | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/domain/ZDLStationInfo.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/domain/ZDLStationInfo.java index 91525e0ea..1e7618169 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/domain/ZDLStationInfo.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/domain/ZDLStationInfo.java @@ -65,6 +65,9 @@ public class ZDLStationInfo { @JSONField(name = "ParkFee") private String parkFee; + @JSONField(name = "Pictures") + private List pictures; + @JSONField(name = "EquipmentInfos") private List equipmentInfos; } diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java index 774b9036a..8dfa9cca0 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java @@ -2,6 +2,7 @@ package com.jsowell.thirdparty.zhongdianlian.service.impl; import com.alibaba.fastjson2.JSONObject; import com.github.pagehelper.PageInfo; +import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.jsowell.common.constant.Constants; import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum; @@ -358,6 +359,10 @@ public class ZDLServiceImpl implements ZDLService { if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) { stationInfo.setParkFee(pileStationInfo.getParkFeeDescribe()); } + // 站点图片 + if (StringUtils.isNotBlank(pileStationInfo.getPictures())) { + stationInfo.setPictures(Lists.newArrayList(pileStationInfo.getPictures().split(","))); + } List pileList = getPileList(pileStationInfo); if (CollectionUtils.isNotEmpty(pileList)) {