From 6a073c2adf0cf393c6c7099d39c13dda892ff5e2 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 21 三月 2024 09:39:48 +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