From 8994fe62b498572f26c8cc84149a702a7e3a261d Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Mon, 3 Jun 2024 15:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=BA=90=E5=88=86=E6=9E=90?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=8B=E4=BB=B6=E6=BA=90=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/business/DcTrafficIncidentsMapper.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml b/zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml index f4695f04..eaa01cd6 100644 --- a/zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml @@ -89,7 +89,13 @@ UNION ALL select '4' as eventSource,'视频巡查' as eventSourceName UNION ALL select '5' as eventSource,'视频AI' as eventSourceName UNION ALL select '6' as eventSource,'一键救援' as eventSourceName - UNION ALL select '7' as eventSource,'其他' as eventSourceName) t1 + UNION ALL select '7' as eventSource,'其他' as eventSourceName + UNION ALL select '8' as eventSource,'雷达识别' as eventSourceName + UNION ALL select '9' as eventSource,'锥桶' as eventSourceName + UNION ALL select '10' as eventSource,'护栏碰撞' as eventSourceName + UNION ALL select '11' as eventSource,'扫码报警' as eventSourceName + UNION ALL select '12' as eventSource,'非机预警' as eventSourceName + UNION ALL select '13' as eventSource,'气象检测器' as eventSourceName) t1 LEFT JOIN (select event_source eventSource,count(*) num from dc_event