From 5bc2f648dd8e7a9fe08dd7da9092e642e9c179ad Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Tue, 19 Mar 2024 09:22:44 +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..02c5bff 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 15
</select>
<!-- int updateEventReportStatus(HandlerReportParam handlerReportParam);-->
@@ -63,6 +66,7 @@
mobile_code = #{mobileCode}
where check_id = #{checkId}
</update>
+
</mapper>
--
Gitblit v1.9.2