This commit is contained in:
parent
b93b1b262c
commit
f91c9e3205
|
@ -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("请输入正确的事件类型");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue