Commit dac790f7 by 杨林龙

车辆归属用全层级展示

1 parent 72e4670a
...@@ -715,7 +715,7 @@ ...@@ -715,7 +715,7 @@
when (timestampdiff(SECOND, tdl.last_gps_time, now())) > 259200 and tdl.last_bs_time is null then 2 when (timestampdiff(SECOND, tdl.last_gps_time, now())) > 259200 and tdl.last_bs_time is null then 2
when tdl.last_gps_time is null and (timestampdiff(SECOND, tdl.last_bs_time, now())) > 259200 then 2 when tdl.last_gps_time is null and (timestampdiff(SECOND, tdl.last_bs_time, now())) > 259200 then 2
else 1 end as isOnline, else 1 end as isOnline,
tu.username as shopName, tv.created_by as createdBy,
tvd.created_date as activeDate, tvd.created_date as activeDate,
tvd.active_location_lng as lng, tvd.active_location_lng as lng,
tvd.active_location_lat as lat, tvd.active_location_lat as lat,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!