update 充电状态转换

This commit is contained in:
YAS\29473
2025-09-29 10:50:06 +08:00
parent ae44f9f6e0
commit a5d8764434
2 changed files with 2 additions and 4 deletions

View File

@@ -442,7 +442,8 @@ public class CommonService {
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())||
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode())
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode())||
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.XIN_DIAN_TU.getTypeCode())
){
//专门处理常畅充平台转换枪口状态
if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FREE.getValue())) {

View File

@@ -298,9 +298,6 @@ public class XinDiantuPlatfromServiceImpl implements ThirdPartyPlatformService {
String dataSecretIv = thirdPartySecretInfoVO.getTheirDataSecretIv();
String urlAddress = thirdPartySecretInfoVO.getTheirUrlPrefix();
if(Objects.equals(status , PileConnectorDataBaseStatusEnum.OFF_NETWORK.getValue())){
status =PileConnectorDataBaseStatusEnum.FAULT.getValue() ; // 离网改成255故障
}
String url = urlAddress + BusinessInformationExchangeEnum.NOTIFICATION_STATION_STATUS.getValue();