From 40e6b02f26a7c0a1911a69b951c948f582df4032 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 20 六月 2025 13:23:18 +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