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
25b6f0af
Commit
25b6f0af
authored
Sep 28, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 禅道-220 场景评价页面点击当前拥堵场景,进入子页面时页面报错
parent
6ef572a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SceneEvaluateServiceImpl.java
.../net/wanji/opt/service/impl/SceneEvaluateServiceImpl.java
+3
-3
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/service/impl/SceneEvaluateServiceImpl.java
View file @
25b6f0af
...
@@ -72,7 +72,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
...
@@ -72,7 +72,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
SceneEvaluateAbnormalDistributeVO
vo
=
new
SceneEvaluateAbnormalDistributeVO
();
SceneEvaluateAbnormalDistributeVO
vo
=
new
SceneEvaluateAbnormalDistributeVO
();
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDistribution
>
timeDistributionList
=
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDistribution
>
timeDistributionList
=
buildTimeDistributionList
(
crossId
,
startDate
,
endDate
);
buildTimeDistributionList
(
crossId
,
startDate
,
endDate
);
vo
.
setTimeDateDistributionList
(
build
FinalTim
eDistributionList
(
timeDistributionList
));
vo
.
setTimeDateDistributionList
(
build
TimeDat
eDistributionList
(
timeDistributionList
));
setCounts
(
timeDistributionList
,
vo
);
setCounts
(
timeDistributionList
,
vo
);
return
vo
;
return
vo
;
...
@@ -163,7 +163,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
...
@@ -163,7 +163,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
String
[]
start
=
times
[
0
].
split
(
":"
);
String
[]
start
=
times
[
0
].
split
(
":"
);
startCal
.
set
(
Calendar
.
HOUR
,
Integer
.
parseInt
(
start
[
0
]));
startCal
.
set
(
Calendar
.
HOUR
,
Integer
.
parseInt
(
start
[
0
]));
startCal
.
set
(
Calendar
.
MINUTE
,
Integer
.
parseInt
(
start
[
1
]));
startCal
.
set
(
Calendar
.
MINUTE
,
Integer
.
parseInt
(
start
[
1
]));
String
[]
end
=
times
[
0
].
split
(
":"
);
String
[]
end
=
times
[
1
].
split
(
":"
);
endCal
.
set
(
Calendar
.
HOUR
,
Integer
.
parseInt
(
end
[
0
]));
endCal
.
set
(
Calendar
.
HOUR
,
Integer
.
parseInt
(
end
[
0
]));
endCal
.
set
(
Calendar
.
MINUTE
,
Integer
.
parseInt
(
end
[
1
]));
endCal
.
set
(
Calendar
.
MINUTE
,
Integer
.
parseInt
(
end
[
1
]));
Date
startTime
=
startCal
.
getTime
();
Date
startTime
=
startCal
.
getTime
();
...
@@ -967,7 +967,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
...
@@ -967,7 +967,7 @@ public class SceneEvaluateServiceImpl implements SceneEvaluateService {
return
res
;
return
res
;
}
}
public
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDateDistribution
>
build
FinalTim
eDistributionList
(
public
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDateDistribution
>
build
TimeDat
eDistributionList
(
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDistribution
>
timeDistributionList
)
{
List
<
SceneEvaluateAbnormalDistributeVO
.
TimeDistribution
>
timeDistributionList
)
{
List
<
SceneEvaluateAbnormalDistributeVO
.
FinalTimeDistribution
>
finalTimeDistributionList
=
new
ArrayList
<>();
List
<
SceneEvaluateAbnormalDistributeVO
.
FinalTimeDistribution
>
finalTimeDistributionList
=
new
ArrayList
<>();
...
...
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