Commit d1624e2d064c56dffc5a798f0cd038a3b18b0d4b

Authored by 648540858
1 parent f7e5fff4

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

src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
@@ -575,8 +575,8 @@ public class DeviceServiceImpl implements IDeviceService { @@ -575,8 +575,8 @@ public class DeviceServiceImpl implements IDeviceService {
575 575
576 }else if (device.getSubscribeCycleForMobilePosition() == 0) { 576 }else if (device.getSubscribeCycleForMobilePosition() == 0) {
577 // 取消订阅 577 // 取消订阅
578 - deviceInStore.setSubscribeCycleForCatalog(0);  
579 - removeCatalogSubscribe(deviceInStore, null); 578 + deviceInStore.setSubscribeCycleForMobilePosition(0);
  579 + removeMobilePositionSubscribe(deviceInStore, null);
580 } 580 }
581 } 581 }
582 if (deviceInStore.getGeoCoordSys() != null) { 582 if (deviceInStore.getGeoCoordSys() != null) {