From 9ba8eada5a0b0d9caa93c9229e3e58dcf8c3abc4 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 24 十月 2023 10:54:02 +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