WIP: 停止充电逻辑优化
This commit is contained in:
parent
f929a6d305
commit
c4a66a63f1
@ -53,9 +53,7 @@ public class QueryStopChargeController {
|
|||||||
String xhOrderNo = etOrderMapping.getXhOrderNo();
|
String xhOrderNo = etOrderMapping.getXhOrderNo();
|
||||||
String pushOrderkey = "pushOrder:".concat(xhOrderNo);
|
String pushOrderkey = "pushOrder:".concat(xhOrderNo);
|
||||||
Map<String, Object> pushOrder = REDIS.getCacheMap(pushOrderkey);
|
Map<String, Object> pushOrder = REDIS.getCacheMap(pushOrderkey);
|
||||||
if (pushOrder == null || (pushOrder.get("isStopNotified") != null && !(Boolean) pushOrder.get("isStopNotified"))) {
|
if (pushOrder == null || (pushOrder.get("isStopNotified") != null && (Boolean) pushOrder.get("isStopNotified"))) {
|
||||||
pushOrder.put("isStopNotified", false);
|
|
||||||
REDIS.setCacheMap(pushOrderkey, pushOrder);
|
|
||||||
return failCommonResponse(queryStopChargeResponse);
|
return failCommonResponse(queryStopChargeResponse);
|
||||||
}
|
}
|
||||||
//充电设备接口编码(枪编码)
|
//充电设备接口编码(枪编码)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user