Commit fd6e7aca by 杨林龙

优化获取报警时间定位点的方案

1 parent c8c90928
...@@ -382,6 +382,7 @@ public class GpsBsLocationServiceImpl implements GpsBsLocationService { ...@@ -382,6 +382,7 @@ public class GpsBsLocationServiceImpl implements GpsBsLocationService {
if (GeoLocationEnum.GPS.equals(dataGpsLocation.getGeoLocationEnum())) { if (GeoLocationEnum.GPS.equals(dataGpsLocation.getGeoLocationEnum())) {
// 2.1 如果是GPS,则补充获取基站的数据 // 2.1 如果是GPS,则补充获取基站的数据
List<BaseStationModel> bsLocationList = hdaoGpsComponent.getBaseStationPoint(sn, deviceTypeRelationEnum.getDataDeviceType(), alarmStartTime, alarmEndTime); List<BaseStationModel> bsLocationList = hdaoGpsComponent.getBaseStationPoint(sn, deviceTypeRelationEnum.getDataDeviceType(), alarmStartTime, alarmEndTime);
log.info("getLocationOfAlarmTime 查询基站的数据集合大小为===" + bsLocationList.size());
if (CollectionUtil.isNotEmpty(bsLocationList)) { if (CollectionUtil.isNotEmpty(bsLocationList)) {
BaseStationModel bsModel = bsLocationList.get(0); BaseStationModel bsModel = bsLocationList.get(0);
GpsLocation location = new GpsLocation(); GpsLocation location = new GpsLocation();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!