From 724940bd3838bdfb7da87a9528a532a5c9d2804d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 27 六月 2024 11:14:36 +0800
Subject: [PATCH] 添加筛选条件
---
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java
index d7494af..6632df1 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java
@@ -9,6 +9,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
+import java.util.ArrayList;
+import java.util.Date;
import java.util.List;
@Service("PreventRiskDangerCheckLogService")
@@ -58,4 +60,22 @@
public PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId) {
return preventRiskDangerCheckLogRepository.getByDangerCheckByCheckId(checkId);
}
+
+ @Override
+ public PreventRiskDangerCheckLog getByDangerCheckByJobId(Long jobId) {
+ return preventRiskDangerCheckLogRepository.getByDangerCheckByJobId(jobId);
+ }
+
+ @Override
+ public int updateCheckLog(Long checkId, Long mobileCode) {
+ return preventRiskDangerCheckLogRepository.updateCheckLog(checkId, mobileCode);
+ }
+
+ @Override
+ public int updateTaskReportStatusByList(List<Long> taskIds) {
+ List<Long> ids = new ArrayList<>();
+ Byte reportStatus = 1;
+ Date reportTime = new Date();
+ return preventRiskDangerCheckLogRepository.updateTaskReportStatusByList(taskIds, reportStatus, reportTime);
+ }
}
--
Gitblit v1.9.2