Commit e1fa78ea authored by duanruiming's avatar duanruiming

[update] 态势监测-全天流量

parent d07dc610
......@@ -225,4 +225,11 @@ public class TrendController {
List<HotspotCrossVO> hotspotCrossVOS = trendService.hotspotCross();
return JsonViewObject.newInstance().success(hotspotCrossVOS);
}
@ApiOperation(value = "前五交通流量", notes = "前五交通流量", response = JsonViewObject.class)
@GetMapping(value = "/top5Flow")
public JsonViewObject top5Flow() throws Exception {
List<RunningEvaluateMetricsDetailVO> hotspotCrossVOS = trendService.top5Flow();
return JsonViewObject.newInstance().success(hotspotCrossVOS);
}
}
\ No newline at end of file
......@@ -48,4 +48,6 @@ public interface TrendService {
OptTypeVO optType(CrossIdBO crossIdBO);
List<HotspotCrossVO> hotspotCross() throws Exception;
List<RunningEvaluateMetricsDetailVO> top5Flow() throws Exception;
}
......@@ -15,6 +15,7 @@ import java.util.List;
@Data
@ApiModel(value = "重点路口监测实体", description = "重点路口监测实体")
public class HotspotCrossVO {
private String crossId;
private Date timeStamp;
private List<DetailVO> detailList;
@Data
......
......@@ -18,6 +18,7 @@ import java.util.Objects;
@NoArgsConstructor
@ApiModel(value = "RunningEvaluateMetricsDetailVO", description = "评价指标查询返回值")
public class RunningEvaluateMetricsDetailVO {
private String crossId;
@ApiModelProperty(value = "状态列表")
private List<ProblemStatus> problemStatusList;
@ApiModelProperty(value = "问题方案列表")
......
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