Commit f44ff826 authored by 杜伟's avatar 杜伟

加入两个接口,一个方向级查询,一个路口级查询

parent bc200078
...@@ -277,7 +277,12 @@ public class TrendController { ...@@ -277,7 +277,12 @@ public class TrendController {
return JsonViewObject.newInstance().success(crossStatusTimeRateVO); return JsonViewObject.newInstance().success(crossStatusTimeRateVO);
} }
/**
* 车道级交通指标
* @param crossIdDateTimeVO
* @return
* @throws Exception
*/
@ApiOperation(value = "车道交通指标", notes = "车道交通指标", response = JsonViewObject.class, @ApiOperation(value = "车道交通指标", notes = "车道交通指标", response = JsonViewObject.class,
produces = MediaType.APPLICATION_JSON, consumes = MediaType.APPLICATION_JSON) produces = MediaType.APPLICATION_JSON, consumes = MediaType.APPLICATION_JSON)
@PostMapping(value = "/laneTrafficIndex", @PostMapping(value = "/laneTrafficIndex",
...@@ -309,7 +314,9 @@ public class TrendController { ...@@ -309,7 +314,9 @@ public class TrendController {
} }
/** /**
* 车道交通指标 - 路口方向级 * 交通指标 - 路口方向级
*
* 表:t_cross_dir_data_hist
* @param periodDirectionVO * @param periodDirectionVO
* @return * @return
* @throws Exception * @throws Exception
......
...@@ -14,6 +14,9 @@ import lombok.NoArgsConstructor; ...@@ -14,6 +14,9 @@ import lombok.NoArgsConstructor;
public class PeriodDirectionVO extends CommonCrossIdDateTimeVO { public class PeriodDirectionVO extends CommonCrossIdDateTimeVO {
@ApiModelProperty(value = "分析粒度【5m:五分钟 10m:10分钟 30m:30分钟 1h:一小时】") @ApiModelProperty(value = "分析粒度【5m:五分钟 10m:10分钟 30m:30分钟 1h:一小时】")
private String granularity; private String granularity;
@ApiModelProperty(value = "东向、南向、西向、北向") /**
* 用逗号分隔
*/
@ApiModelProperty(value = "路口方向类型:1北;2东北;3东;4东南;5南;6西南;7西;8西北")
private String direction; private String direction;
} }
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