|
@@ -172,11 +172,10 @@ public class CommonServiceImpl implements CommonService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
//位置信息
|
|
//位置信息
|
|
|
- LocationVO locationVO = getLocationByDate(truckId, LocalDateTime.now());
|
|
|
|
|
|
|
+ LocationVO locationVO = getLocation(truckId);
|
|
|
if (locationVO != null) {
|
|
if (locationVO != null) {
|
|
|
workerInfo.setLatitude(locationVO.getLatitude());
|
|
workerInfo.setLatitude(locationVO.getLatitude());
|
|
|
workerInfo.setLongitude(locationVO.getLongitude());
|
|
workerInfo.setLongitude(locationVO.getLongitude());
|
|
|
- workerInfo.setLocalTime(locationVO.getDate());
|
|
|
|
|
workerInfo.setLastTime(locationVO.getDate()+"");
|
|
workerInfo.setLastTime(locationVO.getDate()+"");
|
|
|
}
|
|
}
|
|
|
|
|
|