lxw
2023-03-14 01d346bab98f52b6bb6f3032bc7b8b6de0deebb7
站点结果
1个文件已修改
8 ■■■■ 已修改文件
src/main/java/com/whyc/service/StationInfService.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/StationInfService.java
@@ -355,8 +355,6 @@
            map.put("data", list);
            //站点统计
            List<StationInf> stationInfList = mapper.getStationInfList(userId);
            //站点数
            map.put("stationCount", stationInfList.size());
            //110v/35v/...
            Map<String, List<StationInf>> stationTypeMap = stationInfList.stream().filter(stationInf -> !stationInf.getStationType().equals("")).collect(Collectors.groupingBy(StationInf::getStationType));
            Set<String> stationTypeSet = stationTypeMap.keySet();
@@ -472,9 +470,9 @@
    public Response getDevOpSkipHead(int userId) {
        try {
            Map<String, Object> map = new HashMap();
           /* //头部统计数据
            //头部统计数据
            int stationNum = mapper.getStation(userId);
            map.put("stationNum", stationNum);*/
            map.put("stationNum", stationNum);
            //浮充/充电
            List<BattRtstate> stateList = rtstateMapper.getBattStateStatic(userId);
            Map<String, Integer> statemap = new HashMap();
@@ -507,8 +505,6 @@
            map.put("fusemap", fusemap);
            //站点统计
            List<StationInf> stationInfList = mapper.getStationInfList(userId);
            //站点数
            map.put("stationCount", stationInfList.size());
            //110v/35v/...
            Map<String, List<StationInf>> stationTypeMap = stationInfList.stream().filter(stationInf -> !stationInf.getStationType().equals("")).collect(Collectors.groupingBy(StationInf::getStationType));
            Set<String> stationTypeSet = stationTypeMap.keySet();