Commit e0085a02 authored by zhoushiguang's avatar zhoushiguang

随机mock数据

parent 22ab2ed7
......@@ -477,8 +477,10 @@ public class GreenwaveHistProviderImpl extends BaseDubboInterfaceImpl<GreenwaveH
} else if (Objects.equals(3, objectType)) {
value = value.stream().sorted(Comparator.comparing(o -> o.getLaneNo())).collect(Collectors.toList());
}
this.mockData(value);
if (Objects.equals(3, objectType)){
//车道指标mock数据
this.mockData(value);
}
mapList.put("scopeCode", key);
mapList.put("dirType", dirType);
......@@ -519,7 +521,10 @@ public class GreenwaveHistProviderImpl extends BaseDubboInterfaceImpl<GreenwaveH
po.setTimeAxis(time);
tmpList.add(po);
}
this.mockData(tmpList);
if (Objects.equals(3, objectType)){
//车道指标mock数据
this.mockData(tmpList);
}
mapList.put("list", tmpList);
allList.add(mapList);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment