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
9a038ea3
Commit
9a038ea3
authored
Feb 11, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配绿波基础信息
parent
3e0ba3df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
GreenwaveListVO.java
...rvice/src/main/java/net/wanji/opt/vo/GreenwaveListVO.java
+0
-2
GreenwaveInfoMapper.xml
...e/src/main/resources/mapper/trend/GreenwaveInfoMapper.xml
+1
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/vo/GreenwaveListVO.java
View file @
9a038ea3
...
@@ -32,8 +32,6 @@ public class GreenwaveListVO {
...
@@ -32,8 +32,6 @@ public class GreenwaveListVO {
@ApiModelProperty
(
value
=
"持续时长 分钟"
)
@ApiModelProperty
(
value
=
"持续时长 分钟"
)
private
Long
duration
;
private
Long
duration
;
@ApiModelProperty
(
value
=
"区域边界"
)
@ApiModelProperty
(
value
=
"区域边界"
)
private
String
polylines
;
@ApiModelProperty
(
value
=
"wkt坐标"
)
private
String
wkt
;
private
String
wkt
;
@ApiModelProperty
(
value
=
"路口列表"
)
@ApiModelProperty
(
value
=
"路口列表"
)
private
List
<
CrossListElement
>
crossList
;
private
List
<
CrossListElement
>
crossList
;
...
...
signal-optimize-service/src/main/resources/mapper/trend/GreenwaveInfoMapper.xml
View file @
9a038ea3
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<select
id=
"listGreenwave"
resultType=
"net.wanji.opt.vo.GreenwaveListVO"
>
<select
id=
"listGreenwave"
resultType=
"net.wanji.opt.vo.GreenwaveListVO"
>
select
select
t1.id, t1.name, t1.status as infoStatus, t2.status as realtimeStatus,
t1.id, t1.name, t1.status as infoStatus, t2.status as realtimeStatus,
t2.traffic_index, t1.start_time, t1.end_time, t1.
polylines, t2.
wkt
t2.traffic_index, t1.start_time, t1.end_time, t1.wkt
from t_greenwave_info t1 join t_greenwave_realtime t2 on t1.id = t2.id
from t_greenwave_info t1 join t_greenwave_realtime t2 on t1.id = t2.id
<where>
<where>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
...
...
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