Commit fc457a8a authored by duwei's avatar duwei

优化交通指标查询为时间升序排序

parent e40f4d0c
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
t2.cross_id, t2.cross_id,
t2.start_time t2.start_time
ORDER BY ORDER BY
t2.start_time DESC t2.start_time asc
</select> </select>
<select id="selectMetricHistDTO" resultType="net.wanji.databus.dto.MetricHistDTO"> <select id="selectMetricHistDTO" resultType="net.wanji.databus.dto.MetricHistDTO">
......
...@@ -175,9 +175,10 @@ ...@@ -175,9 +175,10 @@
GROUP BY GROUP BY
t2.dir, t2.dir,
t2.turn, t2.turn,
t2.sort t2.sort,
t1.start_time
ORDER BY ORDER BY
t1.start_time DESC, t1.start_time asc,
t2.dir t2.dir
</select> </select>
</mapper> </mapper>
\ No newline at end of file
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
t1.turn_type, t1.turn_type,
t2.start_time t2.start_time
ORDER BY ORDER BY
t2.start_time DESC, t2.start_time asc,
t1.in_dir, t1.in_dir,
t1.turn_type t1.turn_type
</select> </select>
......
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