mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update 新电途平台添加 ParkFee 字段
This commit is contained in:
@@ -62,6 +62,9 @@ public class ZDLStationInfo {
|
|||||||
@JSONField(name = "Construction")
|
@JSONField(name = "Construction")
|
||||||
private Integer construction;
|
private Integer construction;
|
||||||
|
|
||||||
|
@JSONField(name = "ParkFee")
|
||||||
|
private String parkFee;
|
||||||
|
|
||||||
@JSONField(name = "EquipmentInfos")
|
@JSONField(name = "EquipmentInfos")
|
||||||
private List<ZDLEquipmentInfo> equipmentInfos;
|
private List<ZDLEquipmentInfo> equipmentInfos;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -258,6 +258,10 @@ public class ZDLServiceImpl implements ZDLService {
|
|||||||
stationInfo.setStationLng(new BigDecimal(pileStationInfo.getStationLng()));
|
stationInfo.setStationLng(new BigDecimal(pileStationInfo.getStationLng()));
|
||||||
stationInfo.setStationLat(new BigDecimal(pileStationInfo.getStationLat()));
|
stationInfo.setStationLat(new BigDecimal(pileStationInfo.getStationLat()));
|
||||||
stationInfo.setConstruction(Integer.parseInt(pileStationInfo.getConstruction()));
|
stationInfo.setConstruction(Integer.parseInt(pileStationInfo.getConstruction()));
|
||||||
|
// 停车费率描述
|
||||||
|
if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) {
|
||||||
|
stationInfo.setParkFee(pileStationInfo.getParkFeeDescribe());
|
||||||
|
}
|
||||||
|
|
||||||
List<ZDLEquipmentInfo> pileList = getPileList(pileStationInfo);
|
List<ZDLEquipmentInfo> pileList = getPileList(pileStationInfo);
|
||||||
if (CollectionUtils.isNotEmpty(pileList)) {
|
if (CollectionUtils.isNotEmpty(pileList)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user