648540858
2022-01-05 dc20ccfce84d46f86209309ea70ba81d0360e070
src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
@@ -55,7 +55,7 @@
    * @param deviceId 设备id
    * @param channels 多个通道
    */
   public void updateChannels(String deviceId, List<DeviceChannel> channels);
   public int updateChannels(String deviceId, List<DeviceChannel> channels);
   /**
    * 开始播放
@@ -243,7 +243,7 @@
    * @param channelReduces
    * @return
    */
   int updateChannelForGB(String platformId, List<ChannelReduce> channelReduces);
   int updateChannelForGB(String platformId, List<ChannelReduce> channelReduces, String catalogId);
   /**
    *  移除上级平台的通道信息
@@ -255,6 +255,9 @@
    DeviceChannel queryChannelInParentPlatform(String platformId, String channelId);
    List<PlatformCatalog> queryChannelInParentPlatformAndCatalog(String platformId, String catalogId);
    List<PlatformCatalog> queryStreamInParentPlatformAndCatalog(String platformId, String catalogId);
    Device queryVideoDeviceByPlatformIdAndChannelId(String platformId, String channelId);
@@ -425,4 +428,32 @@
    */
    StreamProxyItem getStreamProxyByAppAndStream(String app, String streamId);
   /**
    * catlog查询结束后完全重写通道信息
    * @param deviceId
    * @param deviceChannelList
    */
   boolean resetChannels(String deviceId, List<DeviceChannel> deviceChannelList);
   /**
    * 获取目录信息
    * @param platformId
    * @param parentId
    * @return
    */
    List<PlatformCatalog> getChildrenCatalogByPlatform(String platformId, String parentId);
   int addCatalog(PlatformCatalog platformCatalog);
   PlatformCatalog getCatalog(String id);
   int delCatalog(String id);
   int updateCatalog(PlatformCatalog platformCatalog);
   int setDefaultCatalog(String platformId, String catalogId);
   List<PlatformCatalog> queryCatalogInPlatform(String serverGBId);
    int delRelation(PlatformCatalog platformCatalog);
}