Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
f44ff826
Commit
f44ff826
authored
Mar 20, 2025
by
杜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加入两个接口,一个方向级查询,一个路口级查询
parent
bc200078
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
TrendController.java
...c/main/java/net/wanji/opt/controller/TrendController.java
+9
-2
PeriodDirectionVO.java
...ice/src/main/java/net/wanji/opt/vo/PeriodDirectionVO.java
+4
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controller/TrendController.java
View file @
f44ff826
...
@@ -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
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/PeriodDirectionVO.java
View file @
f44ff826
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment