mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
中电联协议 queryStationsInfo 接口添加站点图片字段
This commit is contained in:
@@ -65,6 +65,9 @@ public class ZDLStationInfo {
|
||||
@JSONField(name = "ParkFee")
|
||||
private String parkFee;
|
||||
|
||||
@JSONField(name = "Pictures")
|
||||
private List<String> pictures;
|
||||
|
||||
@JSONField(name = "EquipmentInfos")
|
||||
private List<ZDLEquipmentInfo> equipmentInfos;
|
||||
}
|
||||
|
||||
@@ -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<ZDLEquipmentInfo> pileList = getPileList(pileStationInfo);
|
||||
if (CollectionUtils.isNotEmpty(pileList)) {
|
||||
|
||||
Reference in New Issue
Block a user