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
0af226e5
Commit
0af226e5
authored
Nov 08, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 批量插入优化
parent
fcc4c544
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GreenwaveHistMapper.xml
wj-databus/src/main/resources/mapper/GreenwaveHistMapper.xml
+2
-2
GreenwaveRealtimeMapper.xml
...bus/src/main/resources/mapper/GreenwaveRealtimeMapper.xml
+2
-2
No files found.
wj-databus/src/main/resources/mapper/GreenwaveHistMapper.xml
View file @
0af226e5
...
...
@@ -65,10 +65,10 @@
cord_reliability,cord_queue_ratio,uncoordinate_phase_queue)
values
<foreach
collection=
"list"
item=
"entity"
separator=
","
open=
"("
close=
")"
>
(
#{entity.status}, #{entity.type}, #{entity.trafficIndex},#{entity.speed},
#{entity.status}, #{entity.type}, #{entity.trafficIndex},#{entity.speed},
#{entity.trvalTime}, #{entity.stopTimes}, #{entity.queueLength}, #{entity.congRate},
#{entity.delayTime}, #{entity.noparkPassRate}, #{entity.cordReliability}, #{entity.cordQueueRatio},
#{entity.uncoordinatePhaseQueue}
)
#{entity.uncoordinatePhaseQueue}
</foreach>
</insert>
...
...
wj-databus/src/main/resources/mapper/GreenwaveRealtimeMapper.xml
View file @
0af226e5
...
...
@@ -39,10 +39,10 @@
cord_reliability, cord_queue_ratio, uncoordinate_phase_queue)
values
<foreach
collection=
"list"
item=
"entity"
separator=
","
open=
"("
close=
")"
>
(
#{entity.status}, #{entity.type}, #{entity.trafficIndex}, #{entity.speed},
#{entity.status}, #{entity.type}, #{entity.trafficIndex}, #{entity.speed},
#{entity.trvalTime}, #{entity.stopTimes}, #{entity.queueLength}, #{entity.congRate},
#{entity.delayTime}, #{entity.noparkPassRate}, #{entity.cordReliability}, #{entity.cordQueueRatio},
#{entity.uncoordinatePhaseQueue}
)
#{entity.uncoordinatePhaseQueue}
</foreach>
</insert>
...
...
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