From c4a66a63f107e64059976fa82d7ccfc97e54116d Mon Sep 17 00:00:00 2001 From: ZZ Date: Tue, 23 Nov 2021 14:35:47 +0800 Subject: [PATCH] =?UTF-8?q?WIP:=20=E5=81=9C=E6=AD=A2=E5=85=85=E7=94=B5?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xhpc/evcs/api/QueryStopChargeController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryStopChargeController.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryStopChargeController.java index 8a71f633..09f28720 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryStopChargeController.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryStopChargeController.java @@ -53,9 +53,7 @@ public class QueryStopChargeController { String xhOrderNo = etOrderMapping.getXhOrderNo(); String pushOrderkey = "pushOrder:".concat(xhOrderNo); Map pushOrder = REDIS.getCacheMap(pushOrderkey); - if (pushOrder == null || (pushOrder.get("isStopNotified") != null && !(Boolean) pushOrder.get("isStopNotified"))) { - pushOrder.put("isStopNotified", false); - REDIS.setCacheMap(pushOrderkey, pushOrder); + if (pushOrder == null || (pushOrder.get("isStopNotified") != null && (Boolean) pushOrder.get("isStopNotified"))) { return failCommonResponse(queryStopChargeResponse); } //充电设备接口编码(枪编码)