Compare commits
No commits in common. "b7c504958412643cfe45b4b7d95bff76bad2539e" and "423acc160e58398ffcdb88a86a9b18a76afefeb1" have entirely different histories.
b7c5049584
...
423acc160e
@ -86,7 +86,7 @@ public class RspBikeInfo {
|
||||
*/
|
||||
private String bikeNumber;
|
||||
|
||||
private Double longitude;
|
||||
private double longitude;
|
||||
|
||||
private Double latitude;
|
||||
private double latitude;
|
||||
}
|
||||
|
||||
@ -204,11 +204,9 @@ public class EbikeOperationRegionServiceImpl extends ServiceImpl<EbikeOperationR
|
||||
});
|
||||
|
||||
bikeInfos.forEach(rspBikeInfo -> {
|
||||
if (map.containsKey(rspBikeInfo.getEcuSn())) {
|
||||
ResGPSDto gpsDto = map.get(rspBikeInfo.getEcuSn());
|
||||
rspBikeInfo.setLongitude(gpsDto.getLongitude());
|
||||
rspBikeInfo.setLatitude(gpsDto.getLatitude());
|
||||
}
|
||||
ResGPSDto gpsDto = map.get(rspBikeInfo.getEcuSn());
|
||||
rspBikeInfo.setLongitude(gpsDto.getLongitude());
|
||||
rspBikeInfo.setLatitude(gpsDto.getLatitude());
|
||||
});
|
||||
return bikeInfos;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user