|
@ -161,7 +161,8 @@ public class DcSdhsEventController extends BaseController { |
|
|
if (exportKey != null && exportKey.size() > 0){ |
|
|
if (exportKey != null && exportKey.size() > 0){ |
|
|
//交通事件
|
|
|
//交通事件
|
|
|
if (exportKey.contains("1") || exportKey.contains("2") || exportKey.contains("3") |
|
|
if (exportKey.contains("1") || exportKey.contains("2") || exportKey.contains("3") |
|
|
|| exportKey.contains("4") || exportKey.contains("5")){ |
|
|
|| exportKey.contains("4") || exportKey.contains("5") |
|
|
|
|
|
|| exportKey.contains("14") || exportKey.contains("15")){ |
|
|
PoiUtil.createHeading1(newDoc,"交通事件"); |
|
|
PoiUtil.createHeading1(newDoc,"交通事件"); |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
for (String trafficIncidentType : exportKey) { |
|
|
if ("1".equals(trafficIncidentType)){ |
|
|
if ("1".equals(trafficIncidentType)){ |
|
@ -179,6 +180,12 @@ public class DcSdhsEventController extends BaseController { |
|
|
} else if ("5".equals(trafficIncidentType)){ |
|
|
} else if ("5".equals(trafficIncidentType)){ |
|
|
//交通管制情况统计
|
|
|
//交通管制情况统计
|
|
|
dcSdhsEventService.exportStationAnalysis(newDoc,dcSdhsEventQuery); |
|
|
dcSdhsEventService.exportStationAnalysis(newDoc,dcSdhsEventQuery); |
|
|
|
|
|
} else if ("14".equals(trafficIncidentType)){ |
|
|
|
|
|
//拥堵地点统计
|
|
|
|
|
|
dcSdhsEventService.accidentCongestedLocationExport(newDoc,dcSdhsEventQuery); |
|
|
|
|
|
} else if ("15".equals(trafficIncidentType)){ |
|
|
|
|
|
//路段平均拥堵时长
|
|
|
|
|
|
dcSdhsEventService.accidentCongestedTimeExport(newDoc,dcSdhsEventQuery); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@ -222,19 +229,6 @@ public class DcSdhsEventController extends BaseController { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (exportKey.contains("14") || exportKey.contains("15")){ |
|
|
|
|
|
PoiUtil.createHeading1(newDoc,"拥堵情况"); |
|
|
|
|
|
for (String trafficIncidentType : exportKey) { |
|
|
|
|
|
if ("14".equals(trafficIncidentType)){ |
|
|
|
|
|
//拥堵地点统计
|
|
|
|
|
|
dcSdhsEventService.accidentCongestedLocationExport(newDoc,dcSdhsEventQuery); |
|
|
|
|
|
} else if ("15".equals(trafficIncidentType)){ |
|
|
|
|
|
//路段平均拥堵时长
|
|
|
|
|
|
dcSdhsEventService.accidentCongestedTimeExport(newDoc,dcSdhsEventQuery); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|