missing fees
This commit is contained in:
parent
1bbc5eddcb
commit
930996ad2a
@ -161,6 +161,9 @@ public class QueryStationsInfoController {
|
|||||||
stationInfo.setStationLng(chargingStationDto.getLng());
|
stationInfo.setStationLng(chargingStationDto.getLng());
|
||||||
stationInfo.setStationLat(chargingStationDto.getLat());
|
stationInfo.setStationLat(chargingStationDto.getLat());
|
||||||
stationInfo.setConstruction(chargingStationDto.getConstruction());
|
stationInfo.setConstruction(chargingStationDto.getConstruction());
|
||||||
|
String[] fees = getFees(chargingStationDto.getRateModelId());
|
||||||
|
stationInfo.setElectricityFee(fees[0]);
|
||||||
|
stationInfo.setServiceFee(fees[1]);
|
||||||
//获取该充电站的下的所有充电设备列表
|
//获取该充电站的下的所有充电设备列表
|
||||||
Set<String> piles = chargingStationDto.getPiles();
|
Set<String> piles = chargingStationDto.getPiles();
|
||||||
List<EquipmentInfo> equipmentInfos = getEquipmentInfos(piles);
|
List<EquipmentInfo> equipmentInfos = getEquipmentInfos(piles);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user