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
f8f9469f
Commit
f8f9469f
authored
Apr 22, 2024
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 绿波干线添加行程时间和速度
parent
dfa508df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
GreenwaveListVO.java
...s/src/main/java/net/wanji/databus/vo/GreenwaveListVO.java
+4
-0
GreenwaveInfoMapper.xml
wj-databus/src/main/resources/mapper/GreenwaveInfoMapper.xml
+1
-1
No files found.
wj-databus/src/main/java/net/wanji/databus/vo/GreenwaveListVO.java
View file @
f8f9469f
...
...
@@ -33,6 +33,10 @@ public class GreenwaveListVO {
private
Long
duration
;
@ApiModelProperty
(
value
=
"区域边界"
)
private
String
wkt
;
@ApiModelProperty
(
value
=
"行程时间"
)
private
int
travelTime
;
@ApiModelProperty
(
value
=
"行程速度"
)
private
Double
speed
;
@ApiModelProperty
(
value
=
"路口列表"
)
private
List
<
CrossListElement
>
crossList
;
...
...
wj-databus/src/main/resources/mapper/GreenwaveInfoMapper.xml
View file @
f8f9469f
...
...
@@ -9,7 +9,7 @@
<select
id=
"listGreenwave"
resultType=
"net.wanji.databus.vo.GreenwaveListVO"
>
select
t1.id, t1.name, t1.status as infoStatus, t2.status as realtimeStatus,
t2.traffic_index, t1.start_time, t1.end_time, t1.wkt
t2.traffic_index, t1.start_time, t1.end_time, t1.wkt
, t2.trval_time as travelTime, t2.speed
from t_greenwave_info t1 join t_greenwave_realtime t2 on t1.id = t2.green_id
<where>
<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