This commit is contained in:
wuweida 2022-06-10 17:53:02 +08:00
parent b93b1b262c
commit f91c9e3205
1 changed files with 14 additions and 0 deletions

View File

@ -248,6 +248,13 @@ public class EventController {
} }
Result success = Result.success(lists); Result success = Result.success(lists);
return success; return success;
}else if (eventNewName.equals("渣土车未密闭")) {
List<EventDto> lists = eventMapper.selectByName("'渣土车未密闭'");
for (EventDto list : lists) {
list.setEventNewName("渣土车未密闭");
}
Result success = Result.success(lists);
return success;
} }
return Result.error("请输入正确的事件类型"); return Result.error("请输入正确的事件类型");
} }
@ -310,6 +317,13 @@ public class EventController {
} }
Result success = Result.success(lists); Result success = Result.success(lists);
return success; return success;
}else if (eventNewName.equals("渣土车未密闭")) {
List<EventDto> lists = eventMapper.selectByName("'渣土车未密闭'");
for (EventDto list : lists) {
list.setEventNewName("渣土车未密闭");
}
Result success = Result.success(lists);
return success;
} }
return Result.error("请输入正确的事件类型"); return Result.error("请输入正确的事件类型");
} }