mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 推送高德
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
* 通过桩编号修改枪口状态
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
|
||||
@@ -48,6 +48,12 @@ public class PileConnectorInfoVO {
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 是否对接高德
|
||||
* 是否对接高德地图(0-否;1-是)
|
||||
*/
|
||||
private String aMapFlag;
|
||||
|
||||
/**
|
||||
* 运营商id
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user