|
@ -112,14 +112,18 @@ 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)){ |
|
|
|
|
|
//事故车型分析
|
|
|
//事故车型
|
|
|
//事故车型
|
|
|
dcSdhsEventService.exportAccidentModelAnalysis(newDoc, dcSdhsEventQuery); |
|
|
dcSdhsEventService.exportAccidentModelAnalysis(newDoc, dcSdhsEventQuery); |
|
|
|
|
|
|
|
|
} else if ("4".equals(trafficIncidentType)){ |
|
|
} else if ("4".equals(trafficIncidentType)){ |
|
|
|
|
|
//事故时间分析
|
|
|
//事故时间
|
|
|
//事故时间
|
|
|
dcSdhsEventService.exportAccidentTimeAnalysis(newDoc, dcSdhsEventQuery); |
|
|
dcSdhsEventService.exportAccidentTimeAnalysis(newDoc, dcSdhsEventQuery); |
|
|
|
|
|
|
|
@ -157,13 +161,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)){ |
|
|
//路段拥堵时长
|
|
|
//路段平均拥堵时长
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|