add 推送联联平台设备状态变更接口

This commit is contained in:
Lemon
2023-05-16 15:04:08 +08:00
parent d465afbc1e
commit 7b2a3fe20e
5 changed files with 83 additions and 25 deletions

View File

@@ -439,6 +439,11 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
return response;
}
@Override
public String pushConnectorStatus(String pileConnectorCode, String status) {
return null;
}
/**
* 查询充电枪口的实时数据
*/
@@ -527,6 +532,9 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status);
deleteRedisByPileSn(pileSn);
redisCache.setCacheObject(redisKey, status);
// 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo
}
return num;
}