Commit efa7eb0b by 向延琳

修改错误的联表条件

1 parent d8de6639
......@@ -927,7 +927,7 @@
tdj.mileage as distance
from t_device_journey tdj
left join t_vehicle_device tvd on tvd.id = tdj.vd_id
left join t_vehicle tv on tvd.id = tvd.vehicle_id
left join t_vehicle tv on tv.id = tvd.vehicle_id
left join t_device td on td.sn = tvd.sn
left join t_workorder tw on tw.id = tv.workorder_id and tw.del_flag = 0
where tv.del_flag = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!