From dfb87c768538e280cf5e17d1d5ee5bbed1e1888d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 25 十一月 2022 10:58:26 +0800 Subject: [PATCH] 合并主线 --- src/main/java/com/genersoft/iot/vmp/service/IGbStreamService.java | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IGbStreamService.java b/src/main/java/com/genersoft/iot/vmp/service/IGbStreamService.java index 9c5c32f..314a389 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/IGbStreamService.java +++ b/src/main/java/com/genersoft/iot/vmp/service/IGbStreamService.java @@ -1,6 +1,9 @@ package com.genersoft.iot.vmp.service; +import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; import com.genersoft.iot.vmp.gb28181.bean.GbStream; +import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; +import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; import com.github.pagehelper.PageInfo; import java.util.List; @@ -16,7 +19,7 @@ * @param count * @return */ - PageInfo<GbStream> getAll(Integer page, Integer count); + PageInfo<GbStream> getAll(Integer page, Integer count, String platFormId, String catalogId,String query,String mediaServerId); /** @@ -35,6 +38,35 @@ /** * 绉婚櫎鍥芥爣鍏宠仈 * @param gbStreams + * @param platformId */ - boolean delPlatformInfo(List<GbStream> gbStreams); + boolean delPlatformInfo(String platformId, List<GbStream> gbStreams); + + DeviceChannel getDeviceChannelListByStream(GbStream gbStream, String catalogId, ParentPlatform platform); + + void sendCatalogMsg(GbStream gbStream, String type); + void sendCatalogMsgs(List<GbStream> gbStreams, String type); + + /** + * 淇敼gbId鎴杗ame + * @param streamPushItemForUpdate + * @return + */ + int updateGbIdOrName(List<StreamPushItem> streamPushItemForUpdate); + + DeviceChannel getDeviceChannelListByStreamWithStatus(GbStream gbStream, String catalogId, ParentPlatform platform); + + /** + * 鏌ヨ鎵�鏈夋湭鍒嗛厤鐨勯�氶亾 + * @param platformId + * @return + */ + List<GbStream> getAllGBChannels(String platformId); + + /** + * 绉婚櫎鎵�鏈夊叧鑱旂殑閫氶亾 + * @param platformId + * @param catalogId + */ + void delAllPlatformInfo(String platformId, String catalogId); } -- Gitblit v1.8.0