diff --git a/qaup-collision/src/main/java/com/qaup/collision/dataprocessing/service/DataProcessingService.java b/qaup-collision/src/main/java/com/qaup/collision/dataprocessing/service/DataProcessingService.java index 05db9b45..a33fd1c6 100644 --- a/qaup-collision/src/main/java/com/qaup/collision/dataprocessing/service/DataProcessingService.java +++ b/qaup-collision/src/main/java/com/qaup/collision/dataprocessing/service/DataProcessingService.java @@ -1286,10 +1286,19 @@ public class DataProcessingService { String time =(String) redisCache.getCacheMapValue(key, "time"); log.error("time是{}",time); - String inRunway = "35"; - String outRunway = "34"; - String contactCross = "F1"; - String seat = "138"; +// String inRunway = "35"; +// String outRunway = "34"; +// String contactCross = "F1"; +// String seat = "138"; + String inRunway = (String) redisCache.getCacheMapValue(key, "inRunway"); + String outRunway = (String) redisCache.getCacheMapValue(key, "outRunway"); + String contactCross = (String) redisCache.getCacheMapValue(key, "contactCross"); + String seat = (String) redisCache.getCacheMapValue(key, "seat"); + + log.error("进港参数是{}",inRunway); + log.error("出港参数是{}",outRunway); + log.error("接触交叉参数是{}",contactCross); + log.error("座位参数是{}",seat); // 获取DataCollectorDao进行路由数据查询 DataCollectorDao dataCollectorDao = applicationContext.getBean(DataCollectorDao.class); @@ -1320,9 +1329,17 @@ public class DataProcessingService { String time =(String) redisCache.getCacheMapValue(key, "time"); log.error("time是{}",time); - String inRunway = "17"; - String outRunway = "35"; - String startSeat = "201"; +// String inRunway = "17"; +// String outRunway = "35"; +// String startSeat = "201"; + String inRunway = (String) redisCache.getCacheMapValue(key, "inRunway"); + String outRunway = (String) redisCache.getCacheMapValue(key, "outRunway"); + String startSeat = (String) redisCache.getCacheMapValue(key, "startSeat"); + + log.error("进港参数是{}",inRunway); + log.error("出港参数是{}",outRunway); + log.error("起始座位参数是{}",startSeat); + // 获取DataCollectorDao进行路由数据查询 DataCollectorDao dataCollectorDao = applicationContext.getBean(DataCollectorDao.class);