From 4139a8029831dedc0cafd95b3901504dcf9e2725 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Sat, 8 Jul 2023 16:31:41 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E7=BD=AE=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fc27ac94a..844b2d0ed 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 @@ -529,7 +529,7 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService { // 只修改一个枪口的状态 num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status); deleteRedisByPileSn(pileSn); - redisCache.setCacheObject(redisKey, status); + redisCache.setCacheObject(redisKey, status, CacheConstants.cache_expire_time_1h); // TODO 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo