小程序查询站点信息添加 总空闲设备数 字段

This commit is contained in:
Lemon
2023-04-17 15:58:32 +08:00
parent d8650d8976
commit 31807d325d
2 changed files with 6 additions and 0 deletions

View File

@@ -361,6 +361,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
stationVO.setFastFree(fastFree);
stationVO.setSlowTotal(slowTotal);
stationVO.setSlowFree(slowFree);
stationVO.setTotalFree(fastFree + slowFree);
// 查询当前时段电费
CurrentTimePriceDetails currentTimePriceDetails = pileBillingTemplateService.getCurrentTimePriceDetails(stationVO.getStationId());

View File

@@ -75,6 +75,11 @@ public class StationInfoVO {
*/
private int slowFree;
/**
* 总空闲枪口数
*/
private int totalFree;
/**
* 经度
*/