fix:1解决台站管理 车和船悬浮报错的问题
This commit is contained in:
parent
a5f53e8d54
commit
efc24076ab
|
@ -133,7 +133,8 @@ public class StationOperationServiceImpl extends ServiceImpl<StationOperationMap
|
||||||
@Override
|
@Override
|
||||||
public Result findInfo(String stationId, String type) {
|
public Result findInfo(String stationId, String type) {
|
||||||
Result result = new Result();
|
Result result = new Result();
|
||||||
if (type.equals("IMS STATION(P)") || type.equals("IMS STATION(G)") || type.equals("NRL")){
|
if (type.equals("IMS STATION(P)") || type.equals("IMS STATION(G)") || type.equals("NRL")
|
||||||
|
|| type.equals("Car")|| type.equals("Ship")){
|
||||||
HashMap<String, GardsStations> stationInfoMap = (HashMap<String, GardsStations>) redisUtil.get("stationInfoMap");
|
HashMap<String, GardsStations> stationInfoMap = (HashMap<String, GardsStations>) redisUtil.get("stationInfoMap");
|
||||||
GardsStations stations = stationInfoMap.get(stationId);
|
GardsStations stations = stationInfoMap.get(stationId);
|
||||||
if (Objects.nonNull(stations)){
|
if (Objects.nonNull(stations)){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user