| | |
| | | |
| | | 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; |
| | |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param EventDeleteDTO |
| | | * @param CommonEventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventDeleteDTO EventDeleteDTO); |
| | | R delete(CommonEventDeleteDTO CommonEventDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | |
| | | */ |
| | | R<EventDetailsVO> eventDetails(Long id); |
| | | |
| | | /** |
| | | * 添加事件 |
| | | * @param commonEventAddDTO |
| | | * @return |
| | | */ |
| | | R addCommon(CommonEventAddDTO commonEventAddDTO); |
| | | |
| | | /** |
| | | * 保存事件草稿 |
| | | * @param commonEventEditDTO |
| | | * @return |
| | | */ |
| | | R saveDraft(CommonEventEditDTO commonEventEditDTO); |
| | | |
| | | /** |
| | | * 突发事件上报 |
| | | * @param commonEventReportDTO |
| | | * @return |
| | | */ |
| | | R report(CommonEventReportDTO commonEventReportDTO); |
| | | |
| | | /** |
| | | * 突发事件撤销 |
| | | * @param eventRevokeDTO |
| | | * @return |
| | | */ |
| | | R emergenciesRevoke(EventRevokeDTO eventRevokeDTO); |
| | | /** |
| | | * 处理事件 |
| | | * @param commonEventDealDTO |
| | | * @return |
| | | */ |
| | | R dealEvent(CommonEventDealDTO commonEventDealDTO); |
| | | |
| | | /** |
| | | * 确认事件 |
| | | * @param commonEventVerifyDTO |
| | | * @return |
| | | */ |
| | | R verifyEvent(CommonEventVerifyDTO commonEventVerifyDTO); |
| | | |
| | | /** |
| | | * 重新发布事件 |
| | | * @param commonEventRepublicDTO |
| | | * @return |
| | | */ |
| | | R republishEvent(CommonEventRepublicDTO commonEventRepublicDTO); |
| | | |
| | | /** |
| | | * 草稿发布 |
| | | * @param commonEventPublicDTO |
| | | * @return |
| | | */ |
| | | R draftRelease(CommonEventPublicDTO commonEventPublicDTO); |
| | | } |