From 8e2215bc2fafc7c8fd56fbdb235dc2213f25f0ca Mon Sep 17 00:00:00 2001 From: shan <1653261938@qq.com> Date: Wed, 14 Jan 2026 15:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8Eredis=E4=B8=AD=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9D=A5=E8=8E=B7=E5=8F=96=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/DataProcessingService.java | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) 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);