|
@ -92,12 +92,16 @@ public class DcSdhsEventController { |
|
|
PoiUtil.createHeading1(newDoc,"交通事件"); |
|
|
PoiUtil.createHeading1(newDoc,"交通事件"); |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
if ("1".equals(trafficIncidentType)){ |
|
|
if ("1".equals(trafficIncidentType)){ |
|
|
|
|
|
//事故多发路段
|
|
|
|
|
|
|
|
|
} else if ("2".equals(trafficIncidentType)){ |
|
|
} else if ("2".equals(trafficIncidentType)){ |
|
|
|
|
|
//事件类型分析
|
|
|
|
|
|
|
|
|
} else if ("3".equals(trafficIncidentType)){ |
|
|
} else if ("3".equals(trafficIncidentType)){ |
|
|
|
|
|
//事故车型分析
|
|
|
|
|
|
|
|
|
} else if ("4".equals(trafficIncidentType)){ |
|
|
} else if ("4".equals(trafficIncidentType)){ |
|
|
|
|
|
//事故时间分析
|
|
|
|
|
|
|
|
|
} else if ("5".equals(trafficIncidentType)){ |
|
|
} else if ("5".equals(trafficIncidentType)){ |
|
|
//事故地市分布
|
|
|
//事故地市分布
|
|
@ -133,13 +137,13 @@ public class DcSdhsEventController { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (exportKey.contains("11") || exportKey.contains("12")){ |
|
|
if (exportKey.contains("11") || exportKey.contains("12")){ |
|
|
PoiUtil.createHeading1(newDoc,"交通量统计"); |
|
|
PoiUtil.createHeading1(newDoc,"拥堵情况"); |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
if ("11".equals(trafficIncidentType)){ |
|
|
if ("11".equals(trafficIncidentType)){ |
|
|
//拥堵地点统计
|
|
|
//拥堵地点统计
|
|
|
|
|
|
|
|
|
} else if ("12".equals(trafficIncidentType)){ |
|
|
} else if ("12".equals(trafficIncidentType)){ |
|
|
//路段拥堵时长
|
|
|
//路段平均拥堵时长
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|