Commit 55638bf0 by levphon

设备监控-补查基站位置如大数据侧没返回

1 parent 28e3c8e5
......@@ -415,6 +415,11 @@ public class HdaoGpsComponent {
if (dataBsLocation != null) {
// 2、通过基站获取位置(无需转换地址,通过基站获取位置已经有地址信息)
dataGpsLocation = mapGeoBsConvert(dataBsLocation);
if (StringUtils.isEmpty(dataGpsLocation.getAddress())) {
// 转换地址信息
String address = mapGeoConvert(dataGpsLocation.getLat(), dataGpsLocation.getLng());
dataGpsLocation.setAddress(address);
}
}
return dataGpsLocation;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!