From ecdbf3b5da84f77f575c9df2bff0407dd80a18d8 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 18 Mar 2024 18:18:16 +0800 Subject: [PATCH] update --- .../java/com/jsowell/thirdparty/common/CommonService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 813392065..a5ebcb9d2 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 @@ -206,8 +206,8 @@ public class CommonService { String changedStatus = changeConnectorStatus(connectorStatus, realTimeMonitorData.getPutGunType()); for (ThirdPartyStationRelationVO vo : list) { String thirdPartyType = vo.getThirdPartyType(); - if (StringUtils.equals(Constants.TWO, vo.getStartMode())) { - // 如果是对接平台方启动,不需要传 + if (StringUtils.equals(Constants.ONE, vo.getStartMode())) { + // 如果是类似华为格式,不需要传 continue; } if (StringUtils.equals(ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getCode(), thirdPartyType)) { @@ -317,8 +317,8 @@ public class CommonService { } for (ThirdPartyStationRelationVO relationVO : relationInfoList) { String thirdPartyType = relationVO.getThirdPartyType(); - if (StringUtils.equals(Constants.TWO, relationVO.getStartMode())) { - // 如果是对接平台方启动,不需要传 + if (StringUtils.equals(Constants.ONE, relationVO.getStartMode())) { + // 如果是类似华为格式,不需要传 continue; } if (StringUtils.equals(ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getCode(), thirdPartyType)) {