From 4f22994cdbf1254005def8bb7639cbfd3fd2b450 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期六, 25 三月 2023 10:04:57 +0800 Subject: [PATCH] 优化国标级联的更新 --- src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java index ddc91eb..12a03b4 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java +++ b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java @@ -1,12 +1,7 @@ package com.genersoft.iot.vmp.service; -import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; -import com.genersoft.iot.vmp.gb28181.bean.SubscribeInfo; -import com.genersoft.iot.vmp.service.bean.GPSMsgInfo; import com.github.pagehelper.PageInfo; - -import java.util.List; /** * 鍥芥爣骞冲彴鐨勪笟鍔$被 @@ -31,6 +26,12 @@ boolean add(ParentPlatform parentPlatform); /** + * 娣诲姞绾ц仈骞冲彴 + * @param parentPlatform 绾ц仈骞冲彴 + */ + boolean update(ParentPlatform parentPlatform); + + /** * 骞冲彴涓婄嚎 * @param parentPlatform 骞冲彴淇℃伅 */ @@ -40,7 +41,7 @@ * 骞冲彴绂荤嚎 * @param parentPlatform 骞冲彴淇℃伅 */ - void offline(ParentPlatform parentPlatform); + void offline(ParentPlatform parentPlatform, boolean stopRegisterTask); /** * 鍚戜笂绾у钩鍙板彂璧锋敞鍐� -- Gitblit v1.8.0