| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.area.AreaAddressVO; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyBuild; |
| | | import com.panzhihua.common.model.vos.community.screen.civil.CivilPopulationStatisticsVO; |
| | | import com.panzhihua.common.model.vos.community.screen.civil.CivilStatisticsVO; |
| | | import com.panzhihua.common.model.vos.community.screen.civil.CivilVillageStatisticsVO; |
| | |
| | | private ComMngPopulationHouseUserService comMngPopulationHouseUserService; |
| | | @Resource |
| | | private EventResourceService eventResourceService; |
| | | @Resource |
| | | private BigScreenDAO bigScreenDAO; |
| | | @Value("${domain.aesKey:}") |
| | | private String aesKey; |
| | | |
| | |
| | | return R.ok(this.baseMapper.getPopulationTotalByAdmin(communityId)); |
| | | } |
| | | |
| | | /** |
| | | * 首页大屏统计接口 |
| | | * @param communityId 社区id |
| | | * @return 统计结果 |
| | | */ |
| | | @Override |
| | | public R getScreenIndex(Long communityId){ |
| | | //创建统计返回参数 |
| | |
| | | eventGridStatisticsVO.setGridStatisticsList(gridStatisticsList); |
| | | statisticsVO.setEventGridStatisticsVO(eventGridStatisticsVO); |
| | | |
| | | //查询党建数据 |
| | | BigScreenStatisticPartyBuild statisticPartyBuild = bigScreenDAO.partybuild(communityId); |
| | | statisticsVO.setStatisticPartyBuild(statisticPartyBuild); |
| | | |
| | | //查询特殊人群统计 |
| | | List<IndexSpecialStatisticsVO> specialStatisticsVOList = new ArrayList<>(); |
| | |
| | | return agePopulationList; |
| | | } |
| | | |
| | | /** |
| | | * 事件大屏统计接口 |
| | | * @param communityId 社区id |
| | | * @return 统计结果 |
| | | */ |
| | | @Override |
| | | public R getScreenEvent(Long communityId){ |
| | | //创建统计返回参数 |
| | |
| | | return R.ok(statisticsVO); |
| | | } |
| | | |
| | | /** |
| | | * 民生大屏统计接口 |
| | | * @param communityId 社区id |
| | | * @return 统计结果 |
| | | */ |
| | | @Override |
| | | public R getScreenCivil(Long communityId){ |
| | | //创建统计返回参数 |
| | | CivilStatisticsVO civilStatisticsVO = new CivilStatisticsVO(); |