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
2d4ee0c0
Commit
2d4ee0c0
authored
Jun 04, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
8648bb1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
TEventOptimizeInfoMapper.xml
...sources/mapper/eventoptimize/TEventOptimizeInfoMapper.xml
+5
-2
BaseCrossLaneLightsMapper.xml
...s/src/main/resources/mapper/BaseCrossLaneLightsMapper.xml
+2
-2
No files found.
signal-optimize-service/src/main/resources/mapper/eventoptimize/TEventOptimizeInfoMapper.xml
View file @
2d4ee0c0
...
...
@@ -43,8 +43,11 @@
a.current_algo AS event_type,
a.issue_time AS opt_start_time,
a.duration AS opt_duration,
DATE_ADD( issue_time, INTERVAL a.duration SECOND ) AS opt_end_time,
(case when current_algo=1 then concat('[',empty_dir,']') else b.dir end) dir
a.issue_time + (a.duration::integer * INTERVAL '1 SECOND') AS opt_end_time,
(CASE
WHEN a.current_algo = 1 THEN '[' || COALESCE(a.empty_dir, '') || ']'
ELSE COALESCE(b.dir, '')
END) AS dir
FROM
t_strategy_cross_result a
left join t_event_info b on a.event_id=b.event_serial_number
...
...
wj-databus/src/main/resources/mapper/BaseCrossLaneLightsMapper.xml
View file @
2d4ee0c0
...
...
@@ -55,9 +55,9 @@
<select
id=
"selectLightsCodeByLaneId"
resultType=
"java.lang.String"
>
select t2.lights_no
from t_base_cross_lane_lights t1
join t_base_cross_lights t2
join t_base_cross_lights t2
on t1.lights_id = t2.id
join t_base_lane_info t3
on t1.lane_id = t3.id
and t1.lights_id = t2.id
on t1.lane_id = t3.id
where t3.id = #{laneId} and t3.type = 2
</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