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