数据库表名更改
parent
b8d3a56e89
commit
4989a4079f
|
@ -50,9 +50,9 @@ public class RabbitConfig {
|
|||
//从Redis中获取所有车辆数据
|
||||
Car carInfo = (Car) redisTemplate.opsForHash().get(VehicleConstant.VEHICLE_INFO_MAP, message.getVin());
|
||||
//判断车辆是否存在围栏 Id
|
||||
if (StringUtils.isNotEmpty(carInfo.getFenceId())){
|
||||
if (StringUtils.isNotEmpty(carInfo.getFencingId())){
|
||||
//获取围栏信息
|
||||
Fencing fencingInfo = VehicleData.fencingInfoMap.get(carInfo.getFenceId());
|
||||
Fencing fencingInfo = VehicleData.fencingInfoMap.get(carInfo.getFencingId());
|
||||
String[] split = fencingInfo.getFencingLat().split(";");
|
||||
ArrayList<Point2D.Double> locations = new ArrayList<>();
|
||||
for (String location : split) {
|
||||
|
|
Loading…
Reference in New Issue