Commit 707b28e7 by levphon

工单详情-导入

1 parent 6fed1b6a
......@@ -159,7 +159,7 @@
select tv.id,tv.workorder_id,tv.vin,tv.owner_name,group_concat(tvd.sn) sns from t_vehicle tv,t_vehicle_device tvd
where tv.id = tvd.vehicle_id and tv.del_flag = 0 and tvd.del_flag = 0 and tvd.bind_status = 0
group by tv.id
) tv on tv.workorder_id = tw.id and tv.del_flag = 0
) tv on tv.workorder_id = tw.id
left join t_user tu on tu.id = tw.created_by
left join t_tenant tt on tt.id = tu.tenant_id
where tw.del_flag = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!