bug修复:类型转换
This commit is contained in:
parent
9aef7b04b8
commit
b7e9f57ce1
@ -1573,7 +1573,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
|
||||
resEbikeInfoRegionDto.setLatestTimestamp(String.valueOf(latestTimestamp));
|
||||
resEbikeInfoRegionDto.setIntervalTime(TimeUtils.hoursSince(latestTimestamp.longValue()));
|
||||
}
|
||||
LocalDateTime refreshTimestamp =Instant.ofEpochMilli((Long)resGPSDto.getTimestamp())
|
||||
LocalDateTime refreshTimestamp =Instant.ofEpochMilli(resGPSDto.getTimestamp().longValue())
|
||||
.atZone(ZoneId.systemDefault())
|
||||
.toLocalDateTime();
|
||||
if (refreshTimestamp != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user