Commit 648b68c0 by 杨林龙

报表统计时 新增返回设备号信息

1 parent b53c610c
......@@ -35,6 +35,8 @@
GROUP_CONCAT(td.sn) as sn
FROM t_vehicle tv
inner join t_trial_drive_vehicle ttdv on ttdv.vehicle_id = tv.id
LEFT JOIN t_vehicle_device tvd on tvd.vehicle_id = tv.id
LEFT JOIN t_device td on td.sn = tvd.sn
LEFT JOIN t_user tu ON tu.id = tv.created_by
WHERE tu.del_flag = 0
AND 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!