xuhy
2024-09-25 ca825fdfe67223b2eb8a3f9c14b4e60e2339efc6
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingGunServiceImpl.java
@@ -210,6 +210,11 @@
        }
        List<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);
        List<Map<Integer, Integer>> statusStatistics = new ArrayList<>();