mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 18:30:02 +08:00
调整枪口状态缓存时间为5分钟
This commit is contained in:
@@ -597,8 +597,7 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
|||||||
}
|
}
|
||||||
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + pileConnectorCode; // 获取缓存
|
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + pileConnectorCode; // 获取缓存
|
||||||
String redisStatus = redisCache.getCacheObject(redisKey);
|
String redisStatus = redisCache.getCacheObject(redisKey);
|
||||||
// log.info("更新枪口状态-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
|
||||||
// redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
|
||||||
if (!StringUtils.equals(redisStatus, status)) {
|
if (!StringUtils.equals(redisStatus, status)) {
|
||||||
log.info("更新枪口状态ing-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
log.info("更新枪口状态ing-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
||||||
redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
||||||
|
|||||||
Reference in New Issue
Block a user