修复定时删除过期录像文件时,收藏文件被删除的问题

This commit is contained in:
648540858
2023-11-21 14:30:33 +08:00
parent c1bc45fe8f
commit c98ef23b98
3 changed files with 7 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ public interface CloudRecordServiceMapper {
@Select(" <script>" +
"select *" +
" from wvp_cloud_record " +
" where end_time &lt;= #{endTimeStamp} and media_server_id = #{mediaServerId} " +
" where collect = false and end_time &lt;= #{endTimeStamp} and media_server_id = #{mediaServerId} " +
" </script>")
List<CloudRecordItem> queryRecordListForDelete(@Param("endTimeStamp")Long endTimeStamp, String mediaServerId);