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
jinan
traffic-signal-platform
Commits
e499e185
You need to sign in or sign up before continuing.
Commit
e499e185
authored
Apr 22, 2024
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 车道级别指标查询
parent
dd5cf67f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
RunningEvaluateServiceImpl.java
...et/wanji/opt/service/impl/RunningEvaluateServiceImpl.java
+3
-3
LaneInfoMapper.java
...ain/java/net/wanji/databus/dao/mapper/LaneInfoMapper.java
+1
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/service/impl/RunningEvaluateServiceImpl.java
View file @
e499e185
...
...
@@ -322,9 +322,6 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
}
RunningEvaluateMetricsDetailVO
res
=
new
RunningEvaluateMetricsDetailVO
();
if
(
CollectionUtil
.
isEmpty
(
metricHistDTOList
))
{
return
res
;
}
// 路口级别全量数据
List
<
MetricHistDTO
>
crossDTOList
=
crossDataHistMapper
.
selectMetricHistDTO
(
crossId
,
startStamp
,
endStamp
);
...
...
@@ -336,6 +333,9 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
res
.
setProblemStatusList
(
buildProblemStatusList
(
filteredList
));
res
.
setSchemeList
(
buildSchemeList
(
filteredList
,
crossId
));
}
if
(
CollectionUtil
.
isEmpty
(
metricHistDTOList
))
{
return
res
;
}
// 使用全量数据按时间粒度聚合指标
res
.
setMetricsList
(
buildMetricsList
(
metricHistDTOList
,
minutes
));
return
res
;
...
...
wj-databus/src/main/java/net/wanji/databus/dao/mapper/LaneInfoMapper.java
View file @
e499e185
...
...
@@ -38,5 +38,5 @@ public interface LaneInfoMapper {
List
<
LaneInfoPO
>
selectByTurnType
(
String
crossId
,
Integer
type
,
Integer
dir
,
List
<
Integer
>
keyList
);
String
selectIdByCrossIdDirTurn2
(
String
crossId
,
Integer
dir
,
Integer
turn
Int
);
String
selectIdByCrossIdDirTurn2
(
String
crossId
,
Integer
dir
,
Integer
turn
);
}
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