桩新增通讯协议版本
This commit is contained in:
parent
b0c8fe86c6
commit
cbb4bc6c96
@ -98,10 +98,11 @@ public class XhpcChargingPileServiceImpl implements IXhpcChargingPileService {
|
||||
addXhpcTerminal(xhpcChargingPile.getName(), chargingStationId, rateModelId, serialNumber, chargingPileId, i, number + 1, xhpcChargingPile.getConnectorType());
|
||||
}
|
||||
}
|
||||
|
||||
//插入redis 桩的编号
|
||||
HashSet<String> noSet = new HashSet<>();
|
||||
noSet.add(serialNumber);
|
||||
powerPileService.addPileWhitelist(chargingStationId, noSet);
|
||||
powerPileService.addPileWhitelist(chargingStationId,xhpcChargingPile.getCommunicationProtocolVersion(), noSet);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@ -163,7 +164,7 @@ public class XhpcChargingPileServiceImpl implements IXhpcChargingPileService {
|
||||
//插入redis 桩的编号
|
||||
HashSet<String> noSet = new HashSet<>();
|
||||
noSet.add(serialNumber);
|
||||
powerPileService.addPileWhitelist(chargingStationId, noSet);
|
||||
powerPileService.addPileWhitelist(chargingStationId,xhpcChargingPile.getCommunicationProtocolVersion(), noSet);
|
||||
}
|
||||
xhpcChargingPileMapper.updaeXhpcChargingPile(xhpcChargingPile);
|
||||
return AjaxResult.success();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user