mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 打印日志
This commit is contained in:
@@ -579,9 +579,11 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
||||
}
|
||||
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + pileConnectorCode;
|
||||
String redisStatus = redisCache.getCacheObject(redisKey);
|
||||
log.info("更新枪口状态-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
||||
redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
||||
// log.info("更新枪口状态-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
||||
// redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
||||
if (!StringUtils.equals(redisStatus, status)) {
|
||||
log.info("更新枪口状态ing-枪口编号:{}, redisKey:{}, 缓存状态:{}, 传来的状态:{}, 状态描述:{}", pileConnectorCode, redisKey,
|
||||
redisStatus, status, PileConnectorDataBaseStatusEnum.getStatusDescription(status));
|
||||
String pileSn = pileConnectorCode.substring(0, pileConnectorCode.length() - 2);
|
||||
// 只修改一个枪口的状态
|
||||
num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status);
|
||||
|
||||
Reference in New Issue
Block a user