el npe
This commit is contained in:
parent
1e5fda7d20
commit
1bbad460d9
@ -81,7 +81,11 @@ public class NotificationChargeOrderInfo4BonusTask extends CoreDispatcher {
|
|||||||
logger.error("station[{}] operator id evcs not set", chargingStationId);
|
logger.error("station[{}] operator id evcs not set", chargingStationId);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
operatorIdEvcs = stationOperatorIdEvcs.substring(8, 17);
|
if (stationOperatorIdEvcs.length() == 18) {
|
||||||
|
operatorIdEvcs = stationOperatorIdEvcs.substring(8, 17);
|
||||||
|
} else {
|
||||||
|
operatorIdEvcs = stationOperatorIdEvcs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
EtOrderMapping etOrderMapping = saveOrderMapping(xhpcHistoryOrder, orderMappingRepository, operatorIdEvcs);
|
EtOrderMapping etOrderMapping = saveOrderMapping(xhpcHistoryOrder, orderMappingRepository, operatorIdEvcs);
|
||||||
CDChargeOrderInfo4BonusReq cdChargeOrderInfo4BonusReq = new CDChargeOrderInfo4BonusReq(xhpcHistoryOrder,
|
CDChargeOrderInfo4BonusReq cdChargeOrderInfo4BonusReq = new CDChargeOrderInfo4BonusReq(xhpcHistoryOrder,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user