This commit is contained in:
YAS\29473
2025-08-15 09:50:38 +08:00
parent 9800d44bff
commit af92176bbf

View File

@@ -257,10 +257,14 @@ public class JsowellTask {
.collect(Collectors.toList());
for (String stationId : stationIdList) {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType(thirdPartyType);
notificationService.notificationStationPowerInfo(dto);
try {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType(thirdPartyType);
notificationService.notificationStationPowerInfo(dto);
} catch (Exception e) {
log.error("平台类型:{}站点ID{},推送充电站实时功率失败", thirdPartyType, stationId, e);
}
}
}
@@ -339,10 +343,14 @@ public class JsowellTask {
.collect(Collectors.toList());
for (String stationId : stationIdList) {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType(thirdPartyType);
notificationService.notificationOperationStatsInfo(dto);
try {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType(thirdPartyType);
notificationService.notificationOperationStatsInfo(dto);
} catch (Exception e) {
log.error("平台类型:{}站点ID{},推送统计信息失败", thirdPartyType, stationId, e);
}
}
}