update pre数据库测试

This commit is contained in:
YAS\29473
2025-07-29 09:07:24 +08:00
parent 490d695aef
commit f2e14591d3
2 changed files with 21 additions and 12 deletions

View File

@@ -438,9 +438,18 @@ public class CommonService {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPileConnectorCode(pileConnectorCode);
dto.setStatus(changedStatus);
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())
){
//无须转换枪口状态
dto.setStatus(connectorStatus);
log.info("枪口状态"+connectorStatus);
}else{
dto.setStatus(changedStatus);
log.info("转换的枪口状态"+changedStatus);
}
// 先推送站点状态
notificationService.notificationStationStatus(dto);