修复取消移动位置订阅失败的问题
parent
f7e5fff446
commit
d1624e2d06
|
@ -575,8 +575,8 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||||
|
|
||||||
}else if (device.getSubscribeCycleForMobilePosition() == 0) {
|
}else if (device.getSubscribeCycleForMobilePosition() == 0) {
|
||||||
// 取消订阅
|
// 取消订阅
|
||||||
deviceInStore.setSubscribeCycleForCatalog(0);
|
deviceInStore.setSubscribeCycleForMobilePosition(0);
|
||||||
removeCatalogSubscribe(deviceInStore, null);
|
removeMobilePositionSubscribe(deviceInStore, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (deviceInStore.getGeoCoordSys() != null) {
|
if (deviceInStore.getGeoCoordSys() != null) {
|
||||||
|
|
Loading…
Reference in New Issue