From e2b485623870fb7b02ac8b09f85c4d4f56839e73 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期五, 07 七月 2023 10:22:07 +0800
Subject: [PATCH] 数据检索,数据上报改为每小时一次;数据上报半小时一次

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

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
index 3c42f45..20ab984 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
@@ -35,7 +35,7 @@
 <!--    List<PreventRiskDangerCheckLog> listReportTask();-->
     <select id="listReportTask" 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)
+        where report_switch = 0 and (update_report_data_time > report_time or report_time is null) and mobile_code is not null
     </select>
 
 <!--    int updateEventReportStatus(HandlerReportParam handlerReportParam);-->

--
Gitblit v1.9.2