Commit 8d4624d6 authored by duwei's avatar duwei

转向接口优化

parent 9f91d74a
......@@ -164,7 +164,7 @@
AVG(t1.non_motor_flow) as nonMotorFlow
FROM
t_base_lane_info t2
LEFT JOIN t_lane_data_hist t1 ON t1.id = t2.id
LEFT JOIN t_lane_data_hist t1 ON t1.cross_id = t2.cross_id
WHERE
1 = 1
<if test="crossId != null">
......
......@@ -116,7 +116,7 @@
AVG( t2.non_motor_flow) as nonMotorFlow
FROM
t_base_cross_turn_info t1
LEFT JOIN t_cross_turn_data_hist t2 ON t1.id = t2.id
LEFT JOIN t_cross_turn_data_hist t2 ON t1.cross_id = t2.cross_id
WHERE
1 = 1
<if test="crossId != null">
......
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