From c3447610c46c47b52fb8a191e2ea45ac50f426f6 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期一, 11 九月 2023 14:09:41 +0800
Subject: [PATCH] 临时提交

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

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
index 3c42f45..08890e3 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
@@ -35,7 +35,10 @@
 <!--    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
+<!--        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 30
     </select>
 
 <!--    int updateEventReportStatus(HandlerReportParam handlerReportParam);-->
@@ -63,6 +66,7 @@
         mobile_code = #{mobileCode}
         where check_id = #{checkId}
     </update>
+
 </mapper>
 
 

--
Gitblit v1.9.2