From 5746e59e622daa8ce62d0c29aaba9b8bd5308bcd Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 27 六月 2025 12:28:46 +0800 Subject: [PATCH] 修复问题 --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskEventRepository.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskEventRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskEventRepository.java index 78e089c..f248c38 100644 --- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskEventRepository.java +++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskEventRepository.java @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.toolkit.Constants; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.doublePrevention.entity.PreventRiskEvent; +import com.ruoyi.doublePrevention.repository.param.HandlerReportParam; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @@ -45,4 +46,14 @@ * @description 根据条件批量获取风险控制事件 */ List<PreventRiskEvent> listRiskEvenByCondition(@Param("riskUnitId") Long riskUnitId, @Param("riskEventName") String riskEventName); + + + /** + * 检索需要上报的风险控制事件 + */ + List<PreventRiskEvent> listReportEvent(); + /** + * 安全风险事件-更新上报状态 + */ + int updateEventReportStatus(HandlerReportParam handlerReportParam); } -- Gitblit v1.9.2