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
db6b6365
Commit
db6b6365
authored
Mar 21, 2025
by
杜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
1ab114f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
14 deletions
+9
-14
TrendController.java
...c/main/java/net/wanji/opt/controller/TrendController.java
+2
-2
CrossingDirectionQueryVO.java
.../main/java/net/wanji/opt/vo/CrossingDirectionQueryVO.java
+4
-4
CrossingTurnQueryVO.java
...e/src/main/java/net/wanji/opt/vo/CrossingTurnQueryVO.java
+3
-8
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controller/TrendController.java
View file @
db6b6365
...
@@ -278,12 +278,12 @@ public class TrendController {
...
@@ -278,12 +278,12 @@ public class TrendController {
}
}
/**
/**
*
车道级交通指标
*
交通指标 - 车道级
* @param crossIdDateTimeVO
* @param crossIdDateTimeVO
* @return
* @return
* @throws Exception
* @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"
,
produces
=
MediaType
.
APPLICATION_JSON
,
consumes
=
MediaType
.
APPLICATION_JSON
)
produces
=
MediaType
.
APPLICATION_JSON
,
consumes
=
MediaType
.
APPLICATION_JSON
)
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossingDirectionQueryVO.java
View file @
db6b6365
...
@@ -34,7 +34,7 @@ public class CrossingDirectionQueryVO {
...
@@ -34,7 +34,7 @@ public class CrossingDirectionQueryVO {
@ExcelIgnore
@ExcelIgnore
private
Integer
dir
;
private
Integer
dir
;
@ExcelProperty
(
"方向"
)
@ExcelProperty
(
"方向
名称
"
)
private
String
dirName
;
private
String
dirName
;
// @ApiModelProperty(value = "总流量")
// @ApiModelProperty(value = "总流量")
...
@@ -80,9 +80,9 @@ public class CrossingDirectionQueryVO {
...
@@ -80,9 +80,9 @@ public class CrossingDirectionQueryVO {
//-----------------------------
//-----------------------------
@ApiModelProperty
(
value
=
"车道转向:1左转;2直行;3右转;4掉头;5直左;6直右;7左直右;8左右;9左转掉头;10直行掉头;11右转掉头;12左直掉头;13直右掉头;14左直右掉头;15左右掉头',\n"
)
//
@ApiModelProperty(value = "车道转向:1左转;2直行;3右转;4掉头;5直左;6直右;7左直右;8左右;9左转掉头;10直行掉头;11右转掉头;12左直掉头;13直右掉头;14左直右掉头;15左右掉头',\n")
@ExcelIgnore
//
@ExcelIgnore
private
Integer
turn
;
//
private Integer turn;
@ApiModelProperty
(
value
=
"车道,从左车道开始编号11、12、13..."
)
@ApiModelProperty
(
value
=
"车道,从左车道开始编号11、12、13..."
)
@ExcelProperty
(
"车道号"
)
@ExcelProperty
(
"车道号"
)
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossingTurnQueryVO.java
View file @
db6b6365
...
@@ -49,11 +49,6 @@ public class CrossingTurnQueryVO {
...
@@ -49,11 +49,6 @@ public class CrossingTurnQueryVO {
@ExcelProperty
(
"转向类型名称"
)
@ExcelProperty
(
"转向类型名称"
)
private
String
turnTypeName
;
private
String
turnTypeName
;
// @ApiModelProperty(value = "总流量")
// @ApiModelProperty(value = "总流量")
// @ExcelProperty("总流量")
// @ExcelProperty("总流量")
// private int allFlow;
// private int allFlow;
...
@@ -97,9 +92,9 @@ public class CrossingTurnQueryVO {
...
@@ -97,9 +92,9 @@ public class CrossingTurnQueryVO {
//-----------------------------
//-----------------------------
@ApiModelProperty
(
value
=
"车道转向:1左转;2直行;3右转;4掉头;5直左;6直右;7左直右;8左右;9左转掉头;10直行掉头;11右转掉头;12左直掉头;13直右掉头;14左直右掉头;15左右掉头',\n"
)
//
@ApiModelProperty(value = "车道转向:1左转;2直行;3右转;4掉头;5直左;6直右;7左直右;8左右;9左转掉头;10直行掉头;11右转掉头;12左直掉头;13直右掉头;14左直右掉头;15左右掉头',\n")
@ExcelIgnore
//
@ExcelIgnore
private
Integer
turn
;
//
private Integer turn;
@ApiModelProperty
(
value
=
"车道,从左车道开始编号11、12、13..."
)
@ApiModelProperty
(
value
=
"车道,从左车道开始编号11、12、13..."
)
@ExcelProperty
(
"车道号"
)
@ExcelProperty
(
"车道号"
)
...
...
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