From cad4c065afbc423c012eedef4a505dba6c80d0c6 Mon Sep 17 00:00:00 2001 From: huangzhen <867127663@qq.com> Date: 星期二, 25 四月 2023 11:08:57 +0800 Subject: [PATCH] 措施和事件增加@RequestBody --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java index 78a7e7a..ddf0c83 100644 --- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java +++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java @@ -1,7 +1,10 @@ package com.ruoyi.doublePrevention.repository; import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckLog; +import com.ruoyi.doublePrevention.repository.param.HandlerReportParam; import org.springframework.stereotype.Repository; + +import java.util.List; @Repository public interface PreventRiskDangerCheckLogRepository { @@ -14,4 +17,19 @@ * 删除定时核查任务 * */ int deleteDangerCheck(Long checkId); + + + + /** + * 检索需要上报的任务记录 + * */ + List<PreventRiskDangerCheckLog> listReportTask(); + /** + * 修改上报的数据状态 + * */ + int updateEventReportStatus(HandlerReportParam handlerReportParam); + /** + * 查询by checkId + * */ + PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId); } -- Gitblit v1.9.2