Browse Source

事件分析修改排序

develop
lau572 9 months ago
parent
commit
25dcc006f5
  1. 3
      zc-business/src/main/resources/mapper/business/DcTrafficIncidentsMapper.xml

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

@ -287,7 +287,7 @@
<select id="selectRoadSectionAnalysis" resultType="java.util.Map">
select t3.section_name,t3.mileage,IFNULL(t4.num,0) num,IFNULL(t5.lastNum,0) lastNum,
select t3.id,t3.section_name,t3.mileage,IFNULL(t4.num,0) num,IFNULL(t5.lastNum,0) lastNum,
ROUND(IFNULL( t4.num / t3.mileage * 100, 0 ),2) avgNum
from
(select * from dc_road_section) t3
@ -331,6 +331,7 @@
</if>
GROUP BY t2.section_id) t5
on t3.id = t5.section_id
order by t3.id asc
</select>
<select id="selectEventTypeAnalysis" resultType="java.util.Map">

Loading…
Cancel
Save