| | |
| | | } |
| | | /** |
| | | * 删除走访任务 |
| | | * @param ids |
| | | * @param idDTO |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestParam("ids") String ids, @RequestParam("communityId") Long communityId){ |
| | | return eventVisitingTasksService.delete(ids,communityId); |
| | | R delete(@RequestBody IdDTO idDTO, @RequestParam("communityId") Long communityId){ |
| | | return eventVisitingTasksService.delete(idDTO,communityId); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 撤销走访 |
| | | * @param id |
| | | * @param idDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/cancel/{id}") |
| | | R cancel(@PathVariable("id") Long id){ |
| | | return eventVisitingTasksService.cancel(id); |
| | | @PostMapping("/cancel") |
| | | R cancel(@RequestBody IdDTO idDTO){ |
| | | return eventVisitingTasksService.cancel(idDTO); |
| | | } |
| | | |
| | | /** |
| | | * 恢复 |
| | | * @param id |
| | | * @param idDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/reset/{id}") |
| | | R reset(@PathVariable("id") Long id){ |
| | | return eventVisitingTasksService.reset(id); |
| | | @PostMapping("/reset") |
| | | R reset(@RequestBody IdDTO idDTO){ |
| | | return eventVisitingTasksService.reset(idDTO); |
| | | } |
| | | |
| | | /** |