Commit 1d9957f2 by 谢海旭

v1.77.0 修复StayPointConvert.convertTo 赋值错误

1 parent 62459663
...@@ -60,6 +60,7 @@ public class FspComponent { ...@@ -60,6 +60,7 @@ public class FspComponent {
} }
int beginTimestamp = DateUtils.getEpochSecond(beginTime).intValue(); int beginTimestamp = DateUtils.getEpochSecond(beginTime).intValue();
int endTimestamp = DateUtils.getEpochSecond(endTime).intValue(); int endTimestamp = DateUtils.getEpochSecond(endTime).intValue();
// extraMapReq 0:原始坐标 1:转换高德和百度坐标 2:转换高德坐标 3:转换百度坐标
FspReq fspReq = new FspReq(sn, 5, beginTimestamp, endTimestamp, locInfoType, perType, 1); FspReq fspReq = new FspReq(sn, 5, beginTimestamp, endTimestamp, locInfoType, perType, 1);
FspResp fspResp = new FspResp(); FspResp fspResp = new FspResp();
FspRespHolder fspRespHolder = new FspRespHolder(fspResp); FspRespHolder fspRespHolder = new FspRespHolder(fspResp);
......
...@@ -64,7 +64,7 @@ public class StayPointConvert { ...@@ -64,7 +64,7 @@ public class StayPointConvert {
Optional.ofNullable(stayPointRecord.stayGps) Optional.ofNullable(stayPointRecord.stayGps)
.map(e -> e.blng) .map(e -> e.blng)
.map(LocationUtil::latlng) .map(LocationUtil::latlng)
.ifPresent(gpsLocation::setBlat); .ifPresent(gpsLocation::setBlng);
Optional.ofNullable(stayPointRecord.stayGps) Optional.ofNullable(stayPointRecord.stayGps)
.map(e -> e.glat) .map(e -> e.glat)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!