Commit 44ce4047 by 杨林龙

修复假性离线历史BUG

1 parent 71c6f78f
......@@ -23,7 +23,10 @@
from t_fake_offline_fence_sn tfofs
left join t_vehicle_device tvd on tvd.sn = tfofs.sn
left join t_vehicle tv on tv.id = tvd.vehicle_id
where tfofs.status = 1 and tfofs.del_flag = 0
where tfofs.status = 1
and tfofs.del_flag = 0
and tvd.del_flag = 0
and tvd.bind_status = 1
and tv.vin in
<foreach collection="allDeviceOfficeVinList" separator="," open="(" close=")" item="item">
#{item}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!