From 8a457c61e4079ee92864ea57abe92fc094050bc0 Mon Sep 17 00:00:00 2001
From: 换个名字嗨起来 <577530412@qq.com>
Date: Thu, 25 Jul 2024 13:30:05 +0800
Subject: [PATCH] 关闭专项任务,调整数据上报频次
---
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java | 23 +++++++++++++++++++++++
1 files changed, 23 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..50d7b79 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 {
@@ -14,9 +17,29 @@
* 查询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