| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.doublePrevention.entity.PreventRiskControlMeasure; |
| | | import com.ruoyi.doublePrevention.entity.PreventRiskEvent; |
| | | import com.ruoyi.doublePrevention.repository.param.HandlerReportParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface PreventRiskEventService { |
| | | |
| | | /** |
| | | * @description 新增风险控制事件 |
| | | */ |
| | | int savePreventRiskEvent(PreventRiskEvent preventRiskEvent); |
| | | |
| | | /** |
| | | * @description 根据主键id查询风险控制事件 |
| | | */ |
| | | PreventRiskEvent getPreventRiskEventById(Long id); |
| | | |
| | | /** |
| | | * @description 根据时间名查询风险控制事件 |
| | | */ |
| | | PreventRiskEvent getPreventRiskEventByEventName(String name); |
| | | |
| | | /** |
| | | * @description 根据主键id删除风险控制事件 |
| | | */ |
| | | int deletePreventRiskEventById(PreventRiskEvent preventRiskEvent); |
| | | |
| | | /** |
| | | * @description 根据主键id对风险控制事件进行修改 |
| | | */ |
| | | int updatePreventRiskEventById(PreventRiskEvent preventRiskEvent); |
| | | |
| | | /** |
| | | * @description 根据条件批量获取风险控制事件 |
| | | */ |
| | | List<PreventRiskEvent> listRiskEvenByCondition(Long riskUnitId, String riskEventName); |
| | | |
| | | |
| | | /** |
| | | * 检索需要上报的风险事件 |
| | | */ |
| | | List<PreventRiskEvent> listReportEvent(); |
| | | /** |
| | | * 安全风险事件-更新上报状态 |
| | | */ |
| | | void updateEventReportStatus(HandlerReportParam handlerReportParam); |
| | | } |