Commit d8b8867f by levphon

车辆档案调频数据优化

1 parent fdca5c4f
...@@ -95,7 +95,10 @@ ...@@ -95,7 +95,10 @@
and tvd.del_flag = 0 and tvd.del_flag = 0
and tdf.vehicle_id = tvd.vehicle_id and tdf.vehicle_id = tvd.vehicle_id
and tdf.sn = tvd.sn and tdf.sn = tvd.sn
and tvd.id in (37470, 54049, 68436) and tvd.id in
<foreach collection="vdIds" separator="," open="(" close=")" item="item">
#{item}
</foreach>
group by tdf.vehicle_id, tdf.sn, tvd.id) b group by tdf.vehicle_id, tdf.sn, tvd.id) b
where a.id = b.id where a.id = b.id
and a.vehicle_id = b.vehicle_id and a.vehicle_id = b.vehicle_id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!