| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.service_community.service.BigScreenService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO; |
| | |
| | | |
| | | @Resource |
| | | private ComMngPopulationService comMngPopulationService; |
| | | @Resource |
| | | private BigScreenService bigScreenService; |
| | | |
| | | /** |
| | | * 首页大屏统计接口 |
| | |
| | | return R.ok(comMngPopulationService.indexInfo(communityId)); |
| | | } |
| | | |
| | | /** |
| | | * 社区服务大屏数据分析接口 |
| | | */ |
| | | @GetMapping("/serviceData") |
| | | public R serviceData(@RequestParam("communityId")Long communityId){ |
| | | return this.bigScreenService.serviceData(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 服务居民接口 |
| | | */ |
| | | @GetMapping("/serviceUser") |
| | | public R serviceUser(@RequestParam("communityId") Long communityId){ |
| | | return this.bigScreenService.serviceUser(communityId); |
| | | } |
| | | |
| | | } |