黑名单奏效
This commit is contained in:
parent
a6e5395f84
commit
b632ec8538
@ -52,7 +52,8 @@ public class NotificationStationStatusTask extends CoreDispatcher {
|
||||
if (!connectorStatusInfos.isEmpty()) {
|
||||
for (XhpcInternetUser xhpcInternetUser : xhpcInternetUserList) {
|
||||
XhpcStationInternetBlacklist xhpcStationInternetBlacklist =
|
||||
xhpcStationInternetBlacklistRepo.findByChargingStationIdAndInternetUserId(chargingStationDto.getStationId(), xhpcInternetUser.getId()).orElse(null);
|
||||
xhpcStationInternetBlacklistRepo.findByChargingStationIdAndInternetUserId(Long.valueOf(stationTerminalKey.split(":")[1]),
|
||||
xhpcInternetUser.getId()).orElse(null);
|
||||
if (xhpcStationInternetBlacklist != null) continue;
|
||||
String operatorId3rdptyEvcs = xhpcInternetUser.getOperatorIdEvcs();
|
||||
operatorId3rdptyEvcs = operatorId3rdptyEvcs.length() == 9 ? operatorId3rdptyEvcs :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user