mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
add 推送联联平台设备状态变更接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user