Commit 8d1634f2 by levphon

导出车辆更新人

1 parent 326146f6
......@@ -577,7 +577,7 @@
left join t_device_power tdp on tdp.sn = tvd.sn and tvd.id = tdp.vd_id
left join (select * from (SELECT * FROM t_device_freq order by created_date desc) temp GROUP BY temp.sn) ddf on ddf.vehicle_id = tv.id and ddf.sn = td.sn
left join t_user tu on tu.id = ddf.created_by
left join t_user tu2 on tu2.id = tv.created_by
left join t_user tu2 on tu2.id = tv.updated_by
where tv.del_flag = 0
and tvd.bind_status = 1
and tvd.del_flag = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!