| | |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param eventDeleteDTO |
| | | * @param CommonEventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/event/delete") |
| | | R delete(@RequestBody EventDeleteDTO eventDeleteDTO); |
| | | R delete(@RequestBody CommonEventDeleteDTO CommonEventDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | |
| | | */ |
| | | @PostMapping("/event/grid/nearby") |
| | | R getNearByGrid(PageEventGridNearbyDTO pageEventGridNearbyDTO); |
| | | |
| | | /** |
| | | * 根据网格id查询网格统计数据 |
| | | * @param gridId 网格id |
| | | * @return 网格统计数据 |
| | | */ |
| | | @PostMapping("/statistics/getGridEventStatistics") |
| | | R getGridEventStatisticsByApp(@RequestParam("gridId") Long gridId); |
| | | |
| | | /** |
| | | * 查询网格事件统计数据 |
| | | * @param statisticsDTO 请求参数 |
| | | * @return 网格事件统计数据 |
| | | */ |
| | | @PostMapping("/statistics/event/getGridEventStatistics") |
| | | R getGridEventDetailStatisticsByApp(@RequestBody GridEventStatisticsDTO statisticsDTO); |
| | | |
| | | /** |
| | | * 网格员上报地理位置 |
| | | * @param memberPositionDTO 请求参数 |
| | | * @return 上报结果 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/add") |
| | | R gridReportPosition(@RequestBody GridMemberPositionDTO memberPositionDTO); |
| | | |
| | | /** |
| | | * 直接上报社区 |
| | | * @param commonEventDirectReportDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/event/reportDirect") |
| | | R reportDirect(@RequestBody CommonEventDirectReportDTO commonEventDirectReportDTO); |
| | | |
| | | /** |
| | | * 定时任务扫描网格员工作状态 |
| | | * @return 定时任务扫描结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/judge") |
| | | R timedTaskGridMember(); |
| | | } |