From 4c4aa0f874816d03208de2c56e0b43acde50a7d1 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Tue, 2 Apr 2024 10:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=84=9F=E7=9F=A5=E4=BA=8B=E4=BB=B6=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=E8=B7=AF=E6=AE=B5=E9=A1=B9=E5=8E=BB=E9=99=A4=E9=9D=9E?= =?UTF-8?q?=E6=9C=BA=E9=A2=84=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/business/DcPerceivedEventsWarningMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml index db76147b..d19b3ef0 100644 --- a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml @@ -124,6 +124,7 @@ LEFT JOIN ( SELECT mark.section_id, COUNT(1) AS number FROM dc_warning AS w JOIN dc_stake_mark AS mark ON mark.stake_mark = w.stake_mark AND mark.direction = w.direction WHERE mark.stake_mark IS NOT NULL AND DATE_FORMAT(w.warning_time, '%Y-%m-%d') = DATE_FORMAT(#{warningTime}, '%Y-%m-%d') + and w.warning_source!=6 GROUP BY mark.section_id ) AS w_count ON s.id = w_count.section_id ORDER BY number DESC;