Commit 6ba758c9 authored by hanbing's avatar hanbing

[update] 城市大脑-干线评价-干线列表返回绿波ID

parent 4fe42136
......@@ -672,7 +672,7 @@ public class MainlineEvaluateServiceImpl implements MainlineEvaluateService {
Integer greenwaveId = greenwaveInfoPO.getId();
GreenwaveRealtimePO greenwaveRealtimePO = greenwaveRealtimeMapper.selectById(greenwaveId);
mainlineListVO.setTrafficIndex(greenwaveRealtimePO.getTrafficIndex());
mainlineListVO.setGreenId(greenwaveRealtimePO.getGreenId());
setCrossListAndwkt(mainlineListVO, greenwaveId);
res.add(mainlineListVO);
}
......
......@@ -26,5 +26,8 @@ public class MainlineListVO {
private String wkt;
@ApiModelProperty(value = "干线拥堵指数")
private Double trafficIndex ;
private Double trafficIndex;
@ApiModelProperty(value = "绿波ID")
private Integer greenId;
}
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