From 391023af90d3988b2ab93fc19c1d71000b9078a9 Mon Sep 17 00:00:00 2001 From: Lemon Date: Thu, 23 Nov 2023 17:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9E=AA=E5=8F=A3=E5=88=97=E8=A1=A8=E5=AD=98=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E5=85=88=E5=88=A0=E9=99=A4=E6=97=A7=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java index c938998cb..3467d85d3 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java @@ -416,6 +416,7 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService { // 查数据库 list = pileConnectorInfoMapper.getUniAppConnectorList(stationId); if (CollectionUtils.isNotEmpty(list)) { + redisCache.deleteObject(redisKey); redisCache.setCacheList(redisKey, list); redisCache.expire(redisKey, CacheConstants.cache_expire_time_1d); }