This commit is contained in:
wuweida 2022-07-08 15:47:12 +08:00
parent 3cde39e4f9
commit 780e172c77
1 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ public class EventController {
} }
Result success = Result.success(lists); Result success = Result.success(lists);
return success; return success;
}else if (eventNewName.equals("渣土车未密闭")) { }else if (eventNewName.equals("道路积水事件")) {
List<EventDto> lists = eventMapper.selectByName("'道路积水事件'"); List<EventDto> lists = eventMapper.selectByName("'道路积水事件'");
for (EventDto list : lists) { for (EventDto list : lists) {
list.setEventNewName("道路积水事件"); list.setEventNewName("道路积水事件");
@ -331,7 +331,7 @@ public class EventController {
} }
Result success = Result.success(lists); Result success = Result.success(lists);
return success; return success;
}else if (eventNewName.equals("渣土车未密闭")) { }else if (eventNewName.equals("道路积水事件")) {
List<EventDto> lists = eventMapper.selectByName("'道路积水事件'"); List<EventDto> lists = eventMapper.selectByName("'道路积水事件'");
for (EventDto list : lists) { for (EventDto list : lists) {
list.setEventNewName("道路积水事件"); list.setEventNewName("道路积水事件");