From 9959bc614a232ce8eddf461a671ae65513fabeb6 Mon Sep 17 00:00:00 2001 From: ZZ Date: Thu, 18 Nov 2021 13:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=BE=9D=E8=B5=96auth=20seq?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xhpc/evcs/api/QueryEquipAuthController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryEquipAuthController.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryEquipAuthController.java index eef3df78..2bf98693 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryEquipAuthController.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/api/QueryEquipAuthController.java @@ -49,7 +49,7 @@ public class QueryEquipAuthController { Long stationId = Long.parseLong(pileDataModel.get("stationId").toString()); List xhpcInternetUserList = xhpcInternetUserRepository.findByCooperationStartTimeBeforeAndCooperationEndTimeAfterAndOperatorIdEvcsLike(Instant.now(), - Instant.now(), equipAuthSeq.substring(0, 9)); + Instant.now(), commonRequest.getOperatorId()); if (xhpcInternetUserList.isEmpty()) { equipAuthResponse.setSuccStat(1); equipAuthResponse.setFailReason(2); @@ -59,7 +59,7 @@ public class QueryEquipAuthController { Long internetUserId = xhpcInternetUserList.get(0).getId(); XhpcStationInternetBlacklist xhpcStationInternetBlacklist = xhpcStationInternetBlacklistRepo.findByChargingStationIdAndInternetUserId(stationId, internetUserId).orElse(null); - resp.setRet("0"); + resp.setRet("0"); //todo del if (null != xhpcStationInternetBlacklist) { equipAuthResponse.setSuccStat(1); equipAuthResponse.setFailReason(2);