Commit 1b5c1820 by 杨林龙

优化假性离线导出报表

1 parent 1103c26f
......@@ -22,7 +22,7 @@
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
where tfofs.status = 1 and tfofs.del_flag = 0
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!