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
2df5e8bb
Commit
2df5e8bb
authored
Apr 04, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 控制模式列表查询
parent
35b6a4df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
ControlHistMapper.xml
...l-service/src/main/resources/mapper/ControlHistMapper.xml
+5
-7
No files found.
signal-control-service/src/main/resources/mapper/ControlHistMapper.xml
View file @
2df5e8bb
...
@@ -53,12 +53,10 @@
...
@@ -53,12 +53,10 @@
<select
id=
"selectRecentList"
resultMap=
"tCrossControlHist"
>
<select
id=
"selectRecentList"
resultMap=
"tCrossControlHist"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
></include>
from t_cross_control_hist
from t_cross_control_hist t1 left join
where start_time in (select max(start_time)
(select cross_id crossId, max(start_time) startTime from t_cross_control_hist group by cross_id) t2
from t_cross_control_hist
on t1.cross_id = t2.crossId
where cross_id in (select id as cross_id
where t1.start_time = t2.startTime
from t_base_cross_info)
group by cross_id);
</select>
</select>
</mapper>
</mapper>
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