Browse Source

高速运行快报

develop
lau572 4 months ago
parent
commit
4360a7531b
  1. 2
      zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml

2
zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml

@ -456,7 +456,7 @@
UNION ALL select 5 control_cause,'' cause_type,'警备任务' controlCauseName,'警备任务' causeTypeName
UNION ALL select 6 control_cause,'' cause_type,'其他' controlCauseName,'其他' causeTypeName) t3
LEFT JOIN
(select t2.control_type,t2.control_cause,t2.cause_type,count(*) num
(select t2.control_type,t2.control_cause,IFNULL(t2.cause_type,'') cause_type,count(*) num
from dc_event t1 LEFT JOIN dc_event_traffic_control t2 on t1.id = t2.id
where
t1.event_type = '3' and t1.event_subclass = '3-2' and t2.control_type = #{controlType}

Loading…
Cancel
Save