From 8b7c99291bda31c981235114c00387d00d8150b4 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Mon, 29 Jan 2024 16:03:36 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B5=B7=E5=8D=97=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jsowell/thirdparty/common/CommonService.java | 4 ++++ .../platform/hainan/service/HaiNanPlatformLogic.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/common/CommonService.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/common/CommonService.java index 0d5d55319..9a06727eb 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/common/CommonService.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/common/CommonService.java @@ -157,6 +157,10 @@ public class CommonService { // // 华为 // result = huaWeiService.notificationOperationSystemInfo(dto); // } + if(StringUtils.equals(ThirdPlatformTypeEnum.HAI_NAN.getCode(), dto.getThirdPartyType())) { + // 华为 + result = haiNanChargeService.pushStationInfo(dto); + } finalResult.append(result).append("\n"); } return finalResult.toString(); diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java index 565154848..2a23546f6 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java @@ -69,6 +69,10 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { InterfaceWithPlatformLogicFactory.register(ThirdPlatformTypeEnum.HAI_NAN.getCode(), this); } + public String pushStationInfoV2(PushStationInfoDTO dto) { + return zdlService.pushStationInfoV2(dto); + } + /** * 6.2 查询充电站信息 */