stop invalid order

This commit is contained in:
zz 2022-03-15 14:48:13 +08:00
parent b4e7bb990d
commit 2f9e44d317
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public class OrderDataLogic implements ServiceLogic {
else {
String msg = r.getMsg();
if (msg != null && msg.contains("无效订单")) {
chargingController.stopInvalidOrder(pileNo);
chargingController.stopInvalidOrder(orderNo);
}
return new ServiceResult(ServiceResult.FAIL);
}

View File

@ -150,7 +150,7 @@ public class RealtimeDataLogic implements ServiceLogic {
R r1 = pileOrderService.pileRimeOrder(orderNo);
String msg = r1.getMsg();
if (msg!=null && msg.contains("无效订单")) {
chargingController.stopInvalidOrder(pileNo);
chargingController.stopInvalidOrder(orderNo);
} else {
Integer vul = (Integer) cachePile.get("voltageUpperLimits");
Integer cul = (Integer) cachePile.get("currentLimit");