From b101ebca20c7a63d6f55b3255dbf437bac3061c3 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Tue, 11 Jul 2023 17:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pile/service/impl/PileConnectorInfoServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8390ebf2a..00fb0aca9 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 @@ -522,9 +522,9 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService { } String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + pileConnectorCode; String redisStatus = redisCache.getCacheObject(redisKey); - log.info("更新枪口状态 pileConnectorCode:{}, 缓存状态:{}, 传来的状态:{}",pileConnectorCode, redisStatus, status); + log.info("更新枪口状态-枪口编号:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}",pileConnectorCode, redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status)); if (!StringUtils.equals(redisStatus, status)) { - log.info("更新枪口状态 枪口编号:{}, 缓存状态:{}, 状态值:{}, 状态:{}", pileConnectorCode, redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status)); + // log.info("更新枪口状态 枪口编号:{}, 缓存状态:{}, 状态值:{}, 状态:{}", pileConnectorCode, redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status)); String pileSn = pileConnectorCode.substring(0, pileConnectorCode.length() - 2); // 只修改一个枪口的状态 num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status);