Commit 0af226e5 authored by duanruiming's avatar duanruiming

[update] 批量插入优化

parent fcc4c544
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment