fix NPE
This commit is contained in:
parent
12a33e6219
commit
75ce6fa59f
@ -148,7 +148,8 @@ public class RealtimeDataLogic implements ServiceLogic {
|
||||
cacheOrder.put("totalMoney", cacheRealtimeData.getAmountCharged() / 10000.0);
|
||||
cacheOrder.put("realtimeDataList", realtimeDataList);
|
||||
R r1 = pileOrderService.pileRimeOrder(orderNo);
|
||||
if (r1.getMsg().contains("无效订单")) {
|
||||
String msg = r1.getMsg();
|
||||
if (msg!=null && msg.contains("无效订单")) {
|
||||
chargingController.stopInvalidOrder(pileNo);
|
||||
} else {
|
||||
Integer vul = (Integer) cachePile.get("voltageUpperLimits");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user