From a72ac436263a8f41dd85635153dfdf204ae6eaa0 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Mon, 31 Oct 2022 14:18:01 +0800
Subject: [PATCH] 检查点查询添加管控措施ID
---
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerInfoServiceImpl.java | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerInfoServiceImpl.java b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerInfoServiceImpl.java
index 5c5ff78..daaa09f 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerInfoServiceImpl.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerInfoServiceImpl.java
@@ -4,6 +4,7 @@
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
import com.ruoyi.doublePrevention.repository.PreventRiskDangerInfoRepository;
import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
+import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import com.ruoyi.doublePrevention.service.baseService.PreventRiskDangerInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -58,5 +59,18 @@
return preventRiskDangerInfoRepository.listDangerResultCountByTime(startTime,endTime,depIds);
}
-
+ /**
+ * 搜索需要上报的隐患
+ */
+ @Override
+ public List<PreventRiskDangerInfo> listReportDanger() {
+ return preventRiskDangerInfoRepository.listReportDanger();
+ }
+ /**
+ * 修改上报的数据的姿态
+ */
+ @Override
+ public PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam) {
+ return preventRiskDangerInfoRepository.updateDangerInfoReportStatus(handlerReportParam);
+ }
}
--
Gitblit v1.9.2