From b47b351ba838b9ca0c70fae7cc3a64d4026e7356 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期五, 11 十一月 2022 14:59:38 +0800 Subject: [PATCH] controller中首页调用方法 --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java | 17 +++++++++++++++++ 1 files changed, 17 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..23902a8 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,18 @@ */ int deleteJobAndMeasure(Long jobId); + + + /** + * 检索需要上报的隐患排查任务 + */ + List<PreventRiskJobAndMeasure> listReportWork(); + /** + * 根据jobId查询对应的管控措施 + */ + List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId); + /** + * 修改上报状态 + */ + int updateWorkReportStatus(HandlerReportParam handlerReportParam); } -- Gitblit v1.9.2