Pārlūkot izejas kodu

修复取消移动位置订阅失败的问题

648540858 1 gadu atpakaļ
vecāks
revīzija
d1624e2d06

+ 2 - 2
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java

@@ -575,8 +575,8 @@ public class DeviceServiceImpl implements IDeviceService {
 
             }else if (device.getSubscribeCycleForMobilePosition() == 0) {
                 // 取消订阅
-                deviceInStore.setSubscribeCycleForCatalog(0);
-                removeCatalogSubscribe(deviceInStore, null);
+                deviceInStore.setSubscribeCycleForMobilePosition(0);
+                removeMobilePositionSubscribe(deviceInStore, null);
             }
         }
         if (deviceInStore.getGeoCoordSys() != null) {