This commit is contained in:
2023-06-25 10:19:27 +08:00
parent 8413ef8e6b
commit 59195d1d03
2 changed files with 22 additions and 2 deletions

View File

@@ -614,6 +614,8 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
* @return
*/
public Map<String, Integer> getPileTypeNum(Long stationId) {
StopWatch sw = new StopWatch();
sw.start("高德查询-根据站点id查询快、慢充设备数量");
int fastTotal = 0;
int fastFree = 0;
int slowTotal = 0;
@@ -639,7 +641,8 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
map.put("fastFree", fastFree);
map.put("slowTotal", slowTotal);
map.put("slowFree", slowFree);
sw.stop();
log.info(sw.prettyPrint());
return map;
}
}