工地视频感知事件加排序

This commit is contained in:
wuweida 2022-08-16 13:57:52 +08:00
parent 04ed4b710c
commit b937b64164
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@
SELECT * FROM t_event te SELECT * FROM t_event te
JOIN t_scene_event tse ON te.camera_name = tse.channel_name JOIN t_scene_event tse ON te.camera_name = tse.channel_name
WHERE te.track_event = 'START' WHERE te.track_event = 'START'
ORDER BY te.capture_time DESC
<bind name="page" value="(page-1)*pageSize"/> <bind name="page" value="(page-1)*pageSize"/>
limit #{page},#{pageSize} limit #{page},#{pageSize}
</select> </select>