forked from dyf/fys-Multi-tenant
分页查询围栏进出记录列表
This commit is contained in:
@ -48,8 +48,8 @@
|
||||
r.event_time, r.event_address,
|
||||
r.create_time
|
||||
FROM device_fence_access_record r
|
||||
LEFT JOIN device_geo_fence f ON r.fence_id = f.id
|
||||
LEFT JOIN device d ON r.device_id = d.id
|
||||
INNER JOIN device_geo_fence f ON r.fence_id = f.id
|
||||
INNER JOIN device d ON r.device_id = d.id
|
||||
<where>
|
||||
<if test="bo.fenceId != null">
|
||||
AND r.fence_id = #{bo.fenceId}
|
||||
|
||||
Reference in New Issue
Block a user