| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | |
| | | @Resource |
| | | private EventService eventService; |
| | | |
| | | /** |
| | | * description 获取所有未上传到浪潮平台的事件列表 |
| | | * |
| | | * @return String 事件列表 |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/getUnUploadEvent") |
| | | List<EventDetailsVO> getUnUploadEvent(){ |
| | | return eventService.getUnUploadEvent(); |
| | | } |
| | | /** |
| | | * description 更新上传是否成功标识 |
| | | * @param id 事件主键ID |
| | | * @return Boolean 上传是否成功 |
| | | * @author manailin |
| | | * @date 2021/6/10 17:00 |
| | | */ |
| | | @GetMapping("/updateLcUploadFlag") |
| | | Boolean updateLcUploadFlag(Long id){ |
| | | return eventService.updateLcUploadFlag(id); |
| | | } |
| | | /** |
| | | * 分页查找事件 |
| | | * @param pageEventDTO |
| | |
| | | R reportDirect(@RequestBody CommonEventDirectReportDTO commonEventDirectReportDTO){ |
| | | return eventService.reportDirect(commonEventDirectReportDTO); |
| | | } |
| | | /** |
| | | * 特殊人群上报-社区人口数据列表 |
| | | * @param specialPopulationDTO 请求参数 |
| | | * @return 社区人口数据列表 |
| | | */ |
| | | @PostMapping("/special/population/list") |
| | | public R specialPopulationList(@RequestBody PageEventSpecialPopulationDTO specialPopulationDTO){ |
| | | return eventService.specialPopulationList(specialPopulationDTO); |
| | | } |
| | | } |