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
3170984a
Commit
3170984a
authored
Jan 15, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update]信控调优平台-路口检测左下角路口事件列表添加wtk和交通指数两个数据
parent
94951937
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CrossEventListPO.java
...vice/src/main/java/net/wanji/opt/vo/CrossEventListPO.java
+2
-0
HoloEventMapper.xml
...ize-service/src/main/resources/mapper/HoloEventMapper.xml
+3
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossEventListPO.java
View file @
3170984a
...
...
@@ -15,4 +15,6 @@ public class CrossEventListPO {
private
Integer
duration
;
private
String
type
;
private
String
typeName
;
private
String
wkt
;
private
Double
trafficIndex
;
}
signal-optimize-service/src/main/resources/mapper/HoloEventMapper.xml
View file @
3170984a
...
...
@@ -100,7 +100,7 @@
<!-- 路口监测左下角路口事件列表 -->
<select
id =
"selectCrossEventList"
resultType=
"net.wanji.opt.vo.CrossEventListPO"
>
select t1.id crossId, t2.type, ifnull(t2.place_desc, "畅通") typeName,
ifnull(t2.count, 0) count, ifnull(t2.duration, 0) duration, t1.`name` name
ifnull(t2.count, 0) count, ifnull(t2.duration, 0) duration, t1.`name` name
,t1.location wkt, ROUND(t3.traffic_index,2) trafficIndex
from t_base_cross_info t1
left join
(select cross_id, type, place_desc,
...
...
@@ -111,6 +111,8 @@
group by cross_id, type
order by duration desc) t2
on t2.cross_id = t1.id
LEFT JOIN t_cross_data_realtime t3
ON t1.id = t3.cross_id
where t1.is_signal = 1
order by t2.duration desc
</select>
...
...
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