diff --git a/src/main/java/com/hisense/monitormanage/controller/EventController.java b/src/main/java/com/hisense/monitormanage/controller/EventController.java index 8fc4bfd..3a78eb0 100644 --- a/src/main/java/com/hisense/monitormanage/controller/EventController.java +++ b/src/main/java/com/hisense/monitormanage/controller/EventController.java @@ -255,7 +255,7 @@ public class EventController { } Result success = Result.success(lists); return success; - }else if (eventNewName.equals("渣土车未密闭")) { + }else if (eventNewName.equals("道路积水事件")) { List lists = eventMapper.selectByName("'道路积水事件'"); for (EventDto list : lists) { list.setEventNewName("道路积水事件"); @@ -331,7 +331,7 @@ public class EventController { } Result success = Result.success(lists); return success; - }else if (eventNewName.equals("渣土车未密闭")) { + }else if (eventNewName.equals("道路积水事件")) { List lists = eventMapper.selectByName("'道路积水事件'"); for (EventDto list : lists) { list.setEventNewName("道路积水事件");