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
cbfe8a8d
Commit
cbfe8a8d
authored
Feb 11, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信控优化-拥堵路口筛选
parent
0a76a262
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CrossDataRealtimeMapper.xml
...c/main/resources/mapper/trend/CrossDataRealtimeMapper.xml
+2
-2
No files found.
signal-optimize-service/src/main/resources/mapper/trend/CrossDataRealtimeMapper.xml
View file @
cbfe8a8d
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
ON t1.cross_id = t2.id
ON t1.cross_id = t2.id
<where>
<where>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
and t1.status = #{status}
and
(
t1.status = #{status}
<if
test=
"status == 1"
>
or t1.is_unbalance = 1
</if>
<if
test=
"status == 1"
>
or t1.is_unbalance = 1
</if>
<if
test=
"status == 2"
>
or t1.is_congestion = 1
</if>
<if
test=
"status == 2"
>
or t1.is_congestion = 1
</if>
<if
test=
"status == 3"
>
or t1.is_spillover = 1
</if>
<if
test=
"status == 3"
>
or t1.is_spillover = 1
</if>
)
</if>
</if>
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
and t2.name like concat('%',#{name},'%')
and t2.name like concat('%',#{name},'%')
...
...
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