Commit 277f215b authored by hanbing's avatar hanbing

[update] 信号优化,态势监测-子区详情-子区状态赋值

parent 5e0f26f8
......@@ -358,7 +358,7 @@ public class TrendServiceImpl implements TrendService {
GreenwaveRealtimePO greenwaveRealtimePO = greenwaveRealtimeMapper.selectById(greenwaveId);
GreenwaveInfoPO greenwaveInfoPO = greenwaveInfoMapper.selectById(greenwaveId);
res.setName(greenwaveInfoPO.getName());
res.setStatus(greenwaveInfoPO.getStatus());
res.setStatus(greenwaveRealtimePO.getStatus());
// 绿波带宽
double width = greenwaveInfoPO.getWidth();
......
......@@ -13,7 +13,7 @@ import java.util.List;
public class GreenwaveDetailVO {
@ApiModelProperty(value = "子区名称")
private String name;
@ApiModelProperty(value = "子区状态")
@ApiModelProperty(value = "子区状态:1畅通;2缓行;3拥堵;4严重拥堵;5未知")
private Integer status;
@ApiModelProperty(value = "非协调相位二次排队")
private Integer uncoordinatePhaseQueue;
......
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