Commit 462025f3 by 杨林龙

开发1.13.0版本 解决轨迹回放 基站数超过2000无法导出的问题

1 parent 7fc24dc4
......@@ -271,8 +271,7 @@ public class HdaoGpsComponent {
return resultAddress;
}
if (poiSearchHolder.value == null
|| StringUtils.isEmpty(poiSearchHolder.value)) {
if (poiSearchHolder.value == null || StringUtils.isEmpty(poiSearchHolder.value)) {
return resultAddress;
}
resultAddress = poiSearchHolder.value;
......@@ -401,9 +400,7 @@ public class HdaoGpsComponent {
*/
public DataGpsLocation getDeviceLastGpsInfoFull(String sn, DeviceTypeRelationEnum deviceTypeRelationEnum) {
DataGpsLocation dataGpsLocation = getDeviceLastGpsInfo(sn, deviceTypeRelationEnum);
if (dataGpsLocation == null
|| StringUtils.isEmpty(dataGpsLocation.getLng())
|| StringUtils.isEmpty(dataGpsLocation.getLat())) {
if (dataGpsLocation == null || StringUtils.isEmpty(dataGpsLocation.getLng()) || StringUtils.isEmpty(dataGpsLocation.getLat())) {
return dataGpsLocation;
}
......@@ -530,9 +527,9 @@ public class HdaoGpsComponent {
Integer maxSize = Integer.parseInt(replaySizeStr);
boolean loopFlag = true;
int loopSize = 1;
Date fromDate = DateFormatUtil.toDate(startTime, DateFormatUtil.pattern01);
Date endDate = DateFormatUtil.toDate(endTime, DateFormatUtil.pattern01);
do {
Date fromDate = DateFormatUtil.toDate(startTime, DateFormatUtil.pattern01);
Date endDate = DateFormatUtil.toDate(endTime, DateFormatUtil.pattern01);
List<BaseStationModel> stationlList = getBaseStationPointScop(sn, dataDeviceType, fromDate, endDate);
if (stationlList.size() < iceProperties.getLocationHistoryCount().intValue()) {
loopFlag = false;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!