From af6d33f7c16b121538a6cdd417728e03c4ad0ef1 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期四, 19 六月 2025 16:55:19 +0800
Subject: [PATCH] 准东数据推送

---
 src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
index b2352f8..bb270a2 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
@@ -38,7 +38,7 @@
         where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and mobile_code is not null
 <!--        where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and mobile_code is not null and job_id = 47-->
         order by update_report_data_time
-        limit 10
+        limit 3
     </select>
 
 
@@ -50,7 +50,7 @@
 <!--    return preventRiskDangerCheckLogRepository.listSearchRectifyReportTask();-->
     <select id="listSearchRectifyReportTask" resultMap="BaseResultMap">
         select * from prevent_risk_danger_check_log
-        where  report_switch = 0 and (update_report_data_time > report_time or report_time is null) and job_id in(43,47)
+        where  job_id in(43,47) and report_time is null
     </select>
 <!--    int updateSearchRectifyReportTask(PreventRiskDangerCheckLog dangerCheckLog);-->
     <update id="updateSearchRectifyReportTask" >

--
Gitblit v1.9.2