From fd83d930a526123941d22f8442530a5ea94df562 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Wed, 21 Feb 2024 16:12:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E7=94=B5=E6=A1=A9=E6=AD=A3=E5=9C=A8?= =?UTF-8?q?=E5=85=85=E7=94=B5=E4=B8=AD=E7=9A=84=E4=BA=A4=E6=98=93=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E5=8F=B7=E4=BF=9D=E5=AD=98=E5=88=B0redis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java index 9c795350d..5505fed81 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java @@ -570,7 +570,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService { // 把充电桩正在充电中的状态存到redis String pileIsChargingKey = CacheConstants.PILE_IS_CHARGING + realTimeMonitorData.getPileSn(); - redisCache.setCacheObject(pileIsChargingKey, Constants.one, 12); + redisCache.setCacheObject(pileIsChargingKey, realTimeMonitorData.getTransactionCode(), 12); } @Override