Преглед на файлове

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

648540858 преди 1 година
родител
ревизия
d1624e2d06
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java

+ 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) {