From f91c9e32053ac648b066941759faa56dd8232485 Mon Sep 17 00:00:00 2001 From: wuweida <2918581207@qq.com> Date: Fri, 10 Jun 2022 17:53:02 +0800 Subject: [PATCH] 1 --- .../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 de40560..6e1b871 100644 --- a/src/main/java/com/hisense/monitormanage/controller/EventController.java +++ b/src/main/java/com/hisense/monitormanage/controller/EventController.java @@ -248,6 +248,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("请输入正确的事件类型"); } @@ -310,6 +317,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("请输入正确的事件类型"); }