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
7716be7f
Commit
7716be7f
authored
Mar 05, 2025
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add] 绿波交通状态比例查询事件表优化
parent
edb5707d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
HoloEventMapper.xml
...ize-service/src/main/resources/mapper/HoloEventMapper.xml
+1
-1
SignalStatusController.java
.../wanji/utc/hisense/controller/SignalStatusController.java
+1
-1
No files found.
signal-optimize-service/src/main/resources/mapper/HoloEventMapper.xml
View file @
7716be7f
...
...
@@ -249,7 +249,7 @@
TIMESTAMPDIFF(SECOND, start_time, ifnull(end_time,now())) duration,
TIMESTAMPDIFF(SECOND, DATE_FORMAT(start_time, '%Y-%m-%d 00:00:00'), now()) as totalTime
from t_event_info
where type in ('705', '706') and start_time >= curdate() and green = #{greenId}
where type in ('705', '706') and start_time >= curdate() and green
_id
= #{greenId}
) t1 group by t1.type
<!-- select type, sum(duration) / totalTime as timeRate from (-->
<!-- select cross_id, type,-->
...
...
signal-utc-hisense-service/src/main/java/net/wanji/utc/hisense/controller/SignalStatusController.java
View file @
7716be7f
...
...
@@ -87,7 +87,7 @@ public class SignalStatusController {
}
@AspectLog
(
description
=
"接收易华录灯态"
,
operationType
=
BaseEnum
.
OperationTypeEnum
.
QUERY
)
@PostMapping
(
value
=
"/receive
LightStatus
Ehualu"
,
produces
=
MediaType
.
APPLICATION_JSON
)
@PostMapping
(
value
=
"/receiveEhualu"
,
produces
=
MediaType
.
APPLICATION_JSON
)
@ApiOperation
(
value
=
"接收海信灯态"
,
notes
=
"接收海信灯态"
,
response
=
LightsStatusVO
.
class
,
produces
=
MediaType
.
APPLICATION_JSON
)
public
JsonViewObject
receiveLightStatusEhualu
(
@RequestBody
List
<
EhualuLightStatusPojo
>
ehualuLightStatusPojos
)
throws
Exception
{
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
...
...
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