ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingGunServiceImpl.java
@@ -210,6 +210,11 @@ } Map<Integer, Integer> modeStatistics = this.baseMapper.getModeStatistics(siteIds); if(CollectionUtils.isEmpty(modeStatistics)){ modeStatistics.put(1, 0); modeStatistics.put(2, 0); modeStatistics.put(3, 0); } gunStatusStatisticsVO.setModeStatistics(modeStatistics); Map<Integer, Integer> statusStatistics = new HashMap<>();