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)) {