Commit a1297065 authored by chenzhao's avatar chenzhao

折线图接口修改

parent d9c15c02
......@@ -73,7 +73,7 @@ public class EarningsForecastController {
maps.add(MapBuilder.<String,Object>create().put("text",e.getStationName()).put("value",e.getSequenceNbr()).build());
});
}else {
stationBasicMapper.getStationsByAreaCode(araeCode).stream().filter(a->!a.getStationType().equals(stationType)).forEach(e->{
stationBasicMapper.getStationsByAreaCode(araeCode).stream().filter(a->a.getStationType().contains(stationType)).forEach(e->{
maps.add(MapBuilder.<String,Object>create().put("text",e.getStationName()).put("value",e.getSequenceNbr()).build());
});
}
......
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