From d91ee46e736cd877ee9c55e6917f135e5ffd1338 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Tue, 23 Apr 2024 09:41:47 +0800
Subject: [PATCH] SPI数据接口提供
---
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java
index 78a7e7a..24b61e8 100644
--- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java
+++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java
@@ -1,7 +1,12 @@
package com.ruoyi.doublePrevention.repository;
+import com.ruoyi.doublePrevention.entity.CJReport.CJdto.Data;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckLog;
+import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
+
+import java.util.Date;
+import java.util.List;
@Repository
public interface PreventRiskDangerCheckLogRepository {
@@ -14,4 +19,25 @@
* 删除定时核查任务
* */
int deleteDangerCheck(Long checkId);
+
+
+
+ /**
+ * 检索需要上报的任务记录
+ * */
+ List<PreventRiskDangerCheckLog> listReportTask();
+ /**
+ * 修改上报的数据状态
+ * */
+ int updateEventReportStatus(HandlerReportParam handlerReportParam);
+ /**
+ * 查询by checkId
+ * */
+ PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId);
+
+ PreventRiskDangerCheckLog getByDangerCheckByJobId(Long jobId);
+
+ int updateCheckLog(Long checkId, Long mobileCode);
+
+ int updateTaskReportStatusByList(List<Long> ids, Byte reportStatus, Date reportTime);
}
--
Gitblit v1.9.2