From db9d7e4ce7f5fea229bb512244c9d94cf31b6786 Mon Sep 17 00:00:00 2001
From: 换个名字嗨起来 <577530412@qq.com>
Date: Wed, 31 Jul 2024 13:21:45 +0800
Subject: [PATCH] 修改检索内容
---
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckLogServiceImpl.java | 25 +++++++++++++++++++++++++
1 files changed, 25 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 e665956..6c1e8d7 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")
@@ -68,4 +70,27 @@
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);
+ }
+
+ @Override
+ public List<PreventRiskDangerCheckLog> listRectifyReportTask() {
+ return preventRiskDangerCheckLogRepository.listRectifyReportTask();
+ }
+
+ @Override
+ public List<PreventRiskDangerCheckLog> listSearchRectifyReportTask() {
+ return preventRiskDangerCheckLogRepository.listSearchRectifyReportTask();
+ }
+
+ @Override
+ public int updateSearchRectifyReportTask(PreventRiskDangerCheckLog dangerCheckLog) {
+ return preventRiskDangerCheckLogRepository.updateSearchRectifyReportTask(dangerCheckLog);
+ }
}
--
Gitblit v1.9.2