联联平台添加停车场库编号字段

This commit is contained in:
Lemon
2023-08-09 09:29:55 +08:00
parent 2ff37b957b
commit 0b15319e4a
5 changed files with 19 additions and 1 deletions

View File

@@ -76,7 +76,8 @@ public class StationInfo {
* 停车场库编号 N
* 公共停车场库编号
*/
// private String ParkingLotNumber;
@JSONField(name = "ParkingLotNumber")
private String parkingLotNumber;
/**
* 充电站国家代码 Y

View File

@@ -184,6 +184,9 @@ public class LianLianServiceImpl implements LianLianService {
.build();
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
info.setPayment(payment);
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
info.setParkingLotNumber(pileStationInfo.getParkingNumber());
}
List<EquipmentInfo> pileList = getPileList(pileStationInfo);
if (CollectionUtils.isNotEmpty(pileList)) {
info.setEquipmentInfos(pileList); // 充电设备信息列表