| | |
| | | import com.ycl.entity.cockpitManage.TeamConstruction; |
| | | import com.ycl.entity.cockpitManage.TeamIndex; |
| | | import com.ycl.service.cockpitManage.ITeamConstructionService; |
| | | import com.ycl.service.equipment.IOrgGridService; |
| | | import com.ycl.service.video.impl.IVideoPointService; |
| | | import com.ycl.util.CheckApiUtil; |
| | | import com.ycl.vo.cockpit.CockpitVO; |
| | | import com.ycl.vo.cockpit.statisticsEvents.GridMapVO; |
| | | import com.ycl.vo.cockpit.statisticsEvents.StatisticsEventsVO; |
| | | import com.ycl.vo.equipment.VideoPointVo; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | private ITeamConstructionService teamConstructionService; |
| | | |
| | | private IOrgGridService orgGridService; |
| | | |
| | | @Autowired |
| | | public void setTeamConstructionService(ITeamConstructionService teamConstructionService) { |
| | | this.teamConstructionService = teamConstructionService; |
| | |
| | | @Autowired |
| | | public void setVideoPointService(IVideoPointService videoPointService) { |
| | | this.videoPointService = videoPointService; |
| | | } |
| | | |
| | | @Autowired |
| | | public void setOrgGridService(IOrgGridService orgGridService) { |
| | | this.orgGridService = orgGridService; |
| | | } |
| | | |
| | | @ApiOperation(value = "执法事件") |
| | |
| | | return CommonResult.success(page.getRecords()); |
| | | } |
| | | |
| | | @ApiOperation(value = "网格地图") |
| | | @GetMapping("/grid_map") |
| | | public CommonResult<List<GridMapVO>> gridMap(@Validated CockpitVO params) { |
| | | checkApiUtil.cockpit(params); |
| | | |
| | | List<GridMapVO> list = orgGridService.statisticsGridMap(params.getBeginTime(), params.getEndTime()); |
| | | return CommonResult.success(list); |
| | | } |
| | | |
| | | @ApiOperation(value = "队伍建设") |
| | | @GetMapping("/team_construction") |