From c3166a089f2c42dc86476dc1f9ff63fd25d7d199 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期一, 15 一月 2024 09:21:21 +0800
Subject: [PATCH] 隐患名称查询

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

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
index 20ab984..40028cc 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerCheckLogMapper.xml
@@ -36,6 +36,9 @@
     <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) 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
     </select>
 
 <!--    int updateEventReportStatus(HandlerReportParam handlerReportParam);-->
@@ -63,6 +66,7 @@
         mobile_code = #{mobileCode}
         where check_id = #{checkId}
     </update>
+
 </mapper>
 
 

--
Gitblit v1.9.2