更新实时数据对无效订单的判断
This commit is contained in:
parent
b4b661d519
commit
45befa30c4
@ -148,8 +148,7 @@ public class RealtimeDataLogic implements ServiceLogic {
|
||||
cacheOrder.put("totalMoney", cacheRealtimeData.getAmountCharged() / 10000.0);
|
||||
cacheOrder.put("realtimeDataList", realtimeDataList);
|
||||
R r1 = pileOrderService.pileRimeOrder(orderNo);
|
||||
String msg = r1.getMsg();
|
||||
if (msg!=null && msg.contains("无效订单")) {
|
||||
if (r1 == null || (r1.getMsg()!=null && r1.getMsg().contains("无效订单")) || r1.getCode() >=500) {
|
||||
chargingController.stopInvalidOrder(orderNo);
|
||||
} else {
|
||||
Integer vul = (Integer) cachePile.get("voltageUpperLimits");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user