Commit e722680c by 杨林龙

1.7.0 开发区域查车接口--优化区域查车设备号查询定位

1 parent 1681da46
...@@ -118,7 +118,9 @@ public class RegionalSearchService { ...@@ -118,7 +118,9 @@ public class RegionalSearchService {
if (Objects.isNull(deviceLocationDTO)) { if (Objects.isNull(deviceLocationDTO)) {
return; return;
} }
BeanUtils.copyProperties(deviceLocationDTO, vehicleLocationDTO); if (Objects.nonNull(deviceLocationDTO.getGpsLocation()) || Objects.nonNull(deviceLocationDTO.getBsLocation()) || Objects.nonNull(deviceLocationDTO.getWifiLocation())) {
BeanUtils.copyProperties(deviceLocationDTO, vehicleLocationDTO);
}
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!