update 推送高德

This commit is contained in:
Lemon
2023-07-18 08:33:34 +08:00
parent 9950506524
commit 6656f86c8c
5 changed files with 20 additions and 2 deletions

View File

@@ -62,10 +62,10 @@ public interface IPileConnectorInfoService {
/**
* 更新充电桩枪口状态
* @param connectorCode 枪口号
* @param pileConnectorCode 枪口号
* @param status 状态 0离网 (默认)1空闲2占用未充电3占用充电中4占用预约锁定 255故障
*/
int updateConnectorStatus(String connectorCode, String status);
int updateConnectorStatus(String pileConnectorCode, String status);
/**
* 通过桩编号修改枪口状态

View File

@@ -545,6 +545,9 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
if (connectorInfoVO == null) {
return;
}
if (!StringUtils.equals(Constants.ONE, connectorInfoVO.getAMapFlag())) {
return;
}
String redisKey = CacheConstants.PUSH_STATION_CONNECTOR;
redisCache.setCacheSet(redisKey, Sets.newHashSet(connectorInfoVO.getStationId()));
}

View File

@@ -48,6 +48,12 @@ public class PileConnectorInfoVO {
*/
private String stationId;
/**
* 是否对接高德
* 是否对接高德地图0-否1-是)
*/
private String aMapFlag;
/**
* 运营商id
*/