From 48ca11aaf324d017c08fadabf27c753fdd76c9b7 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 10 十月 2024 20:19:36 +0800 Subject: [PATCH] xxx --- src/main/java/com/genersoft/iot/vmp/storager/dao/CloudRecordServiceMapper.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/CloudRecordServiceMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/CloudRecordServiceMapper.java index b446148..af1b424 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/CloudRecordServiceMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/CloudRecordServiceMapper.java @@ -1,6 +1,6 @@ package com.genersoft.iot.vmp.storager.dao; -import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; +import com.genersoft.iot.vmp.media.bean.MediaServer; import com.genersoft.iot.vmp.service.bean.CloudRecordItem; import org.apache.ibatis.annotations.*; @@ -53,11 +53,11 @@ " <if test= 'ids != null ' > and id in " + " <foreach collection='ids' item='item' open='(' separator=',' close=')' > #{item}</foreach>" + " </if>" + - " order by start_time DESC" + + " order by start_time ASC" + " </script>") List<CloudRecordItem> getList(@Param("query") String query, @Param("app") String app, @Param("stream") String stream, @Param("startTimeStamp")Long startTimeStamp, @Param("endTimeStamp")Long endTimeStamp, - @Param("callId")String callId, List<MediaServerItem> mediaServerItemList, + @Param("callId")String callId, List<MediaServer> mediaServerItemList, List<Integer> ids); @@ -76,7 +76,7 @@ " </script>") List<String> queryRecordFilePathList(@Param("app") String app, @Param("stream") String stream, @Param("startTimeStamp")Long startTimeStamp, @Param("endTimeStamp")Long endTimeStamp, - @Param("callId")String callId, List<MediaServerItem> mediaServerItemList); + @Param("callId")String callId, List<MediaServer> mediaServerItemList); @Update(" <script>" + "update wvp_cloud_record set collect = #{collect} where file_path in " + -- Gitblit v1.8.0