missing fees

This commit is contained in:
ZZ 2021-11-17 16:14:01 +08:00
parent 1bbc5eddcb
commit 930996ad2a

View File

@ -161,6 +161,9 @@ public class QueryStationsInfoController {
stationInfo.setStationLng(chargingStationDto.getLng());
stationInfo.setStationLat(chargingStationDto.getLat());
stationInfo.setConstruction(chargingStationDto.getConstruction());
String[] fees = getFees(chargingStationDto.getRateModelId());
stationInfo.setElectricityFee(fees[0]);
stationInfo.setServiceFee(fees[1]);
//获取该充电站的下的所有充电设备列表
Set<String> piles = chargingStationDto.getPiles();
List<EquipmentInfo> equipmentInfos = getEquipmentInfos(piles);