| | |
| | | statisticsDetailVO.setNoEventZFTotal(0); |
| | | } |
| | | |
| | | //查询网格 |
| | | EventGridDataDO gridDataDO = eventGridDataMapper.selectById(statisticsDTO.getGridId()); |
| | | if(gridDataDO != null){ |
| | | Map<String,Long> sspCountMap = this.baseMapper.getSSPEventTotal(gridDataDO.getGridCommunityId()); |
| | | if(!sspCountMap.isEmpty()){ |
| | | statisticsDetailVO.setEventSSPTotal(sspCountMap.get("eventSSPTotal")!=null?sspCountMap.get("eventSSPTotal").intValue():0); |
| | | statisticsDetailVO.setNoEventSSPTotal(sspCountMap.get("noEventSSPTotal")!=null?sspCountMap.get("noEventSSPTotal").intValue():0); |
| | | } |
| | | } |
| | | |
| | | //统计数据 |
| | | Integer sum = statisticsDetailVO.getEventTFTotal() + statisticsDetailVO.getEventMDTotal() + statisticsDetailVO.getEventZATotal() |
| | | + statisticsDetailVO.getEventBWDTotal() + statisticsDetailVO.getEventTSTotal() + statisticsDetailVO.getEventGGTotal() |