From c83bd5ccc72512c9935135ff76b7c3f7e81a14b8 Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期三, 24 五月 2023 15:27:45 +0800 Subject: [PATCH] 检索上报数据时,兼容改名 --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java index 3400a48..590a739 100644 --- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java +++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java @@ -1,7 +1,10 @@ package com.ruoyi.doublePrevention.repository; import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure; +import com.ruoyi.doublePrevention.repository.param.HandlerReportParam; import org.springframework.stereotype.Repository; + +import java.util.List; @Repository public interface PreventRiskJobAndMeasureRepository { @@ -19,4 +22,19 @@ */ int deleteJobAndMeasure(Long jobId); + + + /** + * 检索需要上报的隐患排查任务 + */ + List<PreventRiskJobAndMeasure> listReportWork(); + /** + * 根据jobId查询对应的管控措施 + */ + List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId); + /** + * 修改上报状态 + */ + int updateWorkReportStatus(HandlerReportParam handlerReportParam); + } -- Gitblit v1.9.2