From 3cde39e4f9efc1c8b2963be88ea04b7f2a863fbf Mon Sep 17 00:00:00 2001 From: wuweida <2918581207@qq.com> Date: Fri, 8 Jul 2022 14:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=90=8D=E7=A7=B0=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../monitormanage/controller/EventController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/com/hisense/monitormanage/controller/EventController.java b/src/main/java/com/hisense/monitormanage/controller/EventController.java index 6e1b871..8fc4bfd 100644 --- a/src/main/java/com/hisense/monitormanage/controller/EventController.java +++ b/src/main/java/com/hisense/monitormanage/controller/EventController.java @@ -255,6 +255,13 @@ public class EventController { } Result success = Result.success(lists); return success; + }else if (eventNewName.equals("渣土车未密闭")) { + List lists = eventMapper.selectByName("'道路积水事件'"); + for (EventDto list : lists) { + list.setEventNewName("道路积水事件"); + } + Result success = Result.success(lists); + return success; } return Result.error("请输入正确的事件类型"); } @@ -324,6 +331,13 @@ public class EventController { } Result success = Result.success(lists); return success; + }else if (eventNewName.equals("渣土车未密闭")) { + List lists = eventMapper.selectByName("'道路积水事件'"); + for (EventDto list : lists) { + list.setEventNewName("道路积水事件"); + } + Result success = Result.success(lists); + return success; } return Result.error("请输入正确的事件类型"); }