stop invalid order
This commit is contained in:
parent
b4e7bb990d
commit
2f9e44d317
@ -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);
|
||||
}
|
||||
|
||||
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user