| | |
| | | |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenEventListDTO; |
| | | import com.panzhihua.common.model.dtos.grid.*; |
| | | import com.panzhihua.common.model.query.visit.EventTasksQuery; |
| | | import com.panzhihua.common.model.query.visit.EventVisitListQuery; |
| | | import com.panzhihua.common.model.vos.*; |
| | | import com.panzhihua.common.model.vos.grid.*; |
| | | import com.panzhihua.common.model.vos.visit.EventVisitCompleteDTO; |
| | | import com.panzhihua.common.model.vos.visit.EventVisitingTasksVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | */ |
| | | @PostMapping("/event/special/population/list") |
| | | R specialPopulationList(@RequestBody PageEventSpecialPopulationDTO specialPopulationDTO); |
| | | |
| | | /** |
| | | * description 根据本地网格ID,查询对于的浪潮市平台对应的ID |
| | | * |
| | | * @param id 本地网格ID |
| | | * @return String 浪潮市平台对应的ID |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/lc_compare/{id}") |
| | | String getLcGridIdByLocal(@PathVariable("id") Long id); |
| | | /** |
| | | * description 根据本地网格ID,查询对于的浪潮市平台对应的ID |
| | | * |
| | | * @param localUserId 本地网格员ID |
| | | * @return String 浪潮市平台对应的ID |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/lc_compare/getLcUserId") |
| | | String getLcUserIdByLocalUserId(@RequestParam("localUserId") String localUserId); |
| | | /** |
| | | * description 获取所有未上传到浪潮平台的事件列表 |
| | | * |
| | | * @return String 事件列表 |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/event/getUnUploadEvent") |
| | | List<EventDetailsVO> getUnUploadEvent(); |
| | | /** |
| | | * description 更新上传是否成功标识 |
| | | * @param id 事件主键ID |
| | | * @return Boolean 上传是否成功 |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/event/updateLcUploadFlag") |
| | | Boolean updateLcUploadFlag(@RequestParam("id")Long id); |
| | | |
| | | /** |
| | | * 工作大屏-事件管理模块数据统计 |
| | | * @param communityId 社区id |
| | | * @return 事件管理数据统计 |
| | | */ |
| | | @GetMapping("/screen/work/event") |
| | | R eventWork(@RequestParam("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 后台统计走访任务 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/eventvisitingtasks/count") |
| | | R countVisit(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 查询走访记录 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/list") |
| | | R list(@RequestBody EventTasksQuery query); |
| | | |
| | | /** |
| | | * 走访任务列表 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/taskList") |
| | | R taskList(@RequestBody EventTasksQuery query); |
| | | |
| | | /** |
| | | * 导出 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/exportTaskList") |
| | | List<EventVisitingTasksVO> exportTaskList(@RequestBody EventTasksQuery query); |
| | | |
| | | /** |
| | | * 删除走访任务 |
| | | * @param ids |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/delete") |
| | | R delete(@RequestParam("ids") String ids, @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 被走访人员列表 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/visitorList") |
| | | R visitorList(@RequestBody EventVisitListQuery query); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 走访详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/eventvisitingtasks/detail/{id}") |
| | | R detail(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 撤销走访 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/cancel/{id}") |
| | | R cancel(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 恢复走访 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/reset/{id}") |
| | | R reset(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增走访 |
| | | * @param ids |
| | | * @param communityId |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/add") |
| | | R addVisitingTask(@RequestParam("ids") String ids,@RequestParam("communityId") Long communityId,@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 开始走访 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/start") |
| | | R start(@RequestParam("id")Long id,@RequestParam("userId")Long userId); |
| | | |
| | | /** |
| | | * 完成走访记录 |
| | | * @param taskCompleteDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/complete") |
| | | R complete(@RequestBody EventVisitCompleteDTO taskCompleteDTO); |
| | | } |