数据库表名更改

master
Yang Haoyu 2023-12-05 10:55:01 +08:00
parent b8d3a56e89
commit 4989a4079f
1 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@ public class RabbitConfig {
//从Redis中获取所有车辆数据 //从Redis中获取所有车辆数据
Car carInfo = (Car) redisTemplate.opsForHash().get(VehicleConstant.VEHICLE_INFO_MAP, message.getVin()); Car carInfo = (Car) redisTemplate.opsForHash().get(VehicleConstant.VEHICLE_INFO_MAP, message.getVin());
//判断车辆是否存在围栏 Id //判断车辆是否存在围栏 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(";"); String[] split = fencingInfo.getFencingLat().split(";");
ArrayList<Point2D.Double> locations = new ArrayList<>(); ArrayList<Point2D.Double> locations = new ArrayList<>();
for (String location : split) { for (String location : split) {