| | |
| | | " <if test= 'mediaServerItemList != null ' > and media_server_id in " + |
| | | " <foreach collection='mediaServerItemList' item='item' open='(' separator=',' close=')' > #{item.id}</foreach>" + |
| | | " </if>" + |
| | | " order by start_time DESC" + |
| | | |
| | | " <if test= 'ids != null ' > and id in " + |
| | | " <foreach collection='ids' item='item' open='(' separator=',' close=')' > #{item}</foreach>" + |
| | | " </if>" + |
| | | " 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<MediaServerItem> mediaServerItemList, |
| | | List<Integer> ids); |
| | | |
| | | |
| | | @Select(" <script>" + |
| | |
| | | " </script>") |
| | | int deleteList(List<CloudRecordItem> cloudRecordItemIdList); |
| | | |
| | | @Select(" <script>" + |
| | | "select *" + |
| | | " from wvp_cloud_record " + |
| | | "where call_id = #{callId}" + |
| | | " </script>") |
| | | List<CloudRecordItem> getListByCallId(@Param("callId") String callId); |
| | | |
| | | @Select(" <script>" + |
| | | "select *" + |
| | | " from wvp_cloud_record " + |
| | | "where id = #{id}" + |
| | | " </script>") |
| | | CloudRecordItem queryOne(@Param("id") Integer id); |
| | | } |