From 637e3efb003c0367a546b6c8a3e082ab72823afa Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Thu, 26 Dec 2024 19:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/business/DcPerceivedEventsWarningMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml index 1703737b..1708b67a 100644 --- a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml @@ -691,7 +691,7 @@ FROM dc_warning AS w LEFT JOIN dc_stake_mark AS sm ON w.stake_mark = sm.stake_mark and w.direction=sm.direction LEFT JOIN dc_road_section AS s ON sm.section_id = s.id - WHERE w.warning_source != 6 AND DATE(w.warning_time) = DATE(#{currently}) + WHERE w.warning_source != 6 AND warning_time >= #{currently} AND warning_time < #{currently} + INTERVAL 1 DAY GROUP BY w.warning_state,s.section_name ORDER BY s.start_stake_mark