|
@ -196,7 +196,7 @@ public class DcEventImportantFileServiceImpl implements IDcEventImportantFileSer |
|
|
String createTime = df.format(new Date()); |
|
|
String createTime = df.format(new Date()); |
|
|
dcEventImportantFile.setCreateTime(createTime); |
|
|
dcEventImportantFile.setCreateTime(createTime); |
|
|
|
|
|
|
|
|
String title = "关于G35济菏高速" + dcEvent.getStakeMark() + "交通事故"; |
|
|
String title = "关于G35济菏高速" + dcEvent.getStakeMark() + dcEvent.getStringEventType(); |
|
|
if ("1".equals(type)){ |
|
|
if ("1".equals(type)){ |
|
|
title += "的初报"; |
|
|
title += "的初报"; |
|
|
} else if ("2".equals(type)){ |
|
|
} else if ("2".equals(type)){ |
|
@ -223,7 +223,7 @@ public class DcEventImportantFileServiceImpl implements IDcEventImportantFileSer |
|
|
content += "撞护栏"; |
|
|
content += "撞护栏"; |
|
|
} else if ("1-4".equals(dcEvent.getEventSubclass()) || "自燃".equals(dcEvent.getEventSubclass())) { |
|
|
} else if ("1-4".equals(dcEvent.getEventSubclass()) || "自燃".equals(dcEvent.getEventSubclass())) { |
|
|
content += "自燃"; |
|
|
content += "自燃"; |
|
|
} else if ("1-5".equals(dcEvent.getEventSubclass()) || "其他".equals(dcEvent.getEventSubclass())){ |
|
|
} else if ("1-5".equals(dcEvent.getEventSubclass()) || "其他事故".equals(dcEvent.getEventSubclass())){ |
|
|
content += "其他"; |
|
|
content += "其他"; |
|
|
} else if ("4-1".equals(dcEvent.getEventSubclass()) || "道路拥堵".equals(dcEvent.getEventSubclass())){ |
|
|
} else if ("4-1".equals(dcEvent.getEventSubclass()) || "道路拥堵".equals(dcEvent.getEventSubclass())){ |
|
|
content += "道路拥堵"; |
|
|
content += "道路拥堵"; |
|
@ -383,6 +383,7 @@ public class DcEventImportantFileServiceImpl implements IDcEventImportantFileSer |
|
|
dcEventImportantFile.setPhoneNumber(user.getPhonenumber()); |
|
|
dcEventImportantFile.setPhoneNumber(user.getPhonenumber()); |
|
|
dcEventImportantFile.setType(type); |
|
|
dcEventImportantFile.setType(type); |
|
|
dcEventImportantFile.setStatus("0"); |
|
|
dcEventImportantFile.setStatus("0"); |
|
|
|
|
|
dcEventImportantFile.setEventId(eventId); |
|
|
|
|
|
|
|
|
return AjaxResult.success(dcEventImportantFile); |
|
|
return AjaxResult.success(dcEventImportantFile); |
|
|
} |
|
|
} |
|
|