Commit 770b0630 by 杨林龙

开发1.12.0版本 修复校验设备类型出错的问题

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