From 7be0d5b901b999d2347774df3cc1a64927838bb3 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 15 四月 2025 10:10:35 +0800 Subject: [PATCH] 优化每年专项数据获取 --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java | 67 ++++++++++++++++++++++----------- 1 files changed, 45 insertions(+), 22 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..f228528 100644 --- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java +++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java @@ -1,22 +1,45 @@ -package com.ruoyi.doublePrevention.repository; - -import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure; -import org.springframework.stereotype.Repository; - -@Repository -public interface PreventRiskJobAndMeasureRepository { - - /** - * 插入管控措施与job的对应关系 - * */ - int insertJobAndMeasure(PreventRiskJobAndMeasure jobAndMeasure); - /** - * 查询JobAndMeasure - By JobId - */ - PreventRiskJobAndMeasure getJobAndMeasureByJobId(Long jobId); - /** - * 删除job管控措施的附属表关联信息 - */ - int deleteJobAndMeasure(Long jobId); - -} +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 { + + /** + * 插入管控措施与job的对应关系 + * */ + int insertJobAndMeasure(PreventRiskJobAndMeasure jobAndMeasure); + /** + * 查询JobAndMeasure - By JobId + */ + PreventRiskJobAndMeasure getJobAndMeasureByJobId(Long jobId); + + List<PreventRiskJobAndMeasure> getJobAndMeasureListByJobId(Long jobId); + /** + * 删除job管控措施的附属表关联信息 + */ + int deleteJobAndMeasure(Long jobId); + + + + /** + * 检索需要上报的隐患排查任务 + */ + List<PreventRiskJobAndMeasure> listReportWork(); + /** + * 根据jobId查询对应的管控措施 + */ + List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId); + /** + * 修改上报状态 + */ + int updateWorkReportStatus(HandlerReportParam handlerReportParam); + + List<PreventRiskJobAndMeasure> listReportWorkTest(); + + List<PreventRiskJobAndMeasure> getRectifyJobData(Long jobId); +} -- Gitblit v1.9.2