| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.common.model.dtos.grid.*; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import com.panzhihua.service_grid.model.dos.EventDO; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | /** |
| | | * 事件 service |
| | |
| | | */ |
| | | R<EventDetailsVO> eventDetails(Long id); |
| | | |
| | | /** |
| | | * 添加突发事件 |
| | | * @param emergenciesEventAddDTO |
| | | * @return |
| | | */ |
| | | R addEmergencies(EmergenciesEventAddDTO emergenciesEventAddDTO); |
| | | |
| | | /** |
| | | * 保存突发事件草稿 |
| | | * @param emergenciesEventEditDTO |
| | | * @return |
| | | */ |
| | | R saveEmergenciesDraft(EmergenciesEventEditDTO emergenciesEventEditDTO); |
| | | |
| | | /** |
| | | * 突发事件上报 |
| | | * @param emergenciesEventReportDTO |
| | | * @return |
| | | */ |
| | | R emergenciesReport(EmergenciesEventReportDTO emergenciesEventReportDTO); |
| | | |
| | | /** |
| | | * 突发事件撤销 |
| | | * @param eventRevokeDTO |
| | | * @return |
| | | */ |
| | | R emergenciesRevoke(EventRevokeDTO eventRevokeDTO); |
| | | /** |
| | | * 处理事件 |
| | | * @param eventDealDTO |
| | | * @return |
| | | */ |
| | | R dealEvent(EventDealDTO eventDealDTO); |
| | | |
| | | /** |
| | | * 确认事件 |
| | | * @param eventVerifyDTO |
| | | * @return |
| | | */ |
| | | R verifyEvent(EventVerifyDTO eventVerifyDTO); |
| | | |
| | | /** |
| | | * 重新发布事件 |
| | | * @param eventRepublicDTO |
| | | * @return |
| | | */ |
| | | R republishEvent(EventRepublicDTO eventRepublicDTO); |
| | | } |