mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -257,10 +257,14 @@ public class JsowellTask {
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
for (String stationId : stationIdList) {
|
for (String stationId : stationIdList) {
|
||||||
|
try {
|
||||||
NotificationDTO dto = new NotificationDTO();
|
NotificationDTO dto = new NotificationDTO();
|
||||||
dto.setStationId(stationId);
|
dto.setStationId(stationId);
|
||||||
dto.setPlatformType(thirdPartyType);
|
dto.setPlatformType(thirdPartyType);
|
||||||
notificationService.notificationStationPowerInfo(dto);
|
notificationService.notificationStationPowerInfo(dto);
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("平台类型:{},站点ID:{},推送充电站实时功率失败", thirdPartyType, stationId, e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,10 +343,14 @@ public class JsowellTask {
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
for (String stationId : stationIdList) {
|
for (String stationId : stationIdList) {
|
||||||
|
try {
|
||||||
NotificationDTO dto = new NotificationDTO();
|
NotificationDTO dto = new NotificationDTO();
|
||||||
dto.setStationId(stationId);
|
dto.setStationId(stationId);
|
||||||
dto.setPlatformType(thirdPartyType);
|
dto.setPlatformType(thirdPartyType);
|
||||||
notificationService.notificationOperationStatsInfo(dto);
|
notificationService.notificationOperationStatsInfo(dto);
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("平台类型:{},站点ID:{},推送统计信息失败", thirdPartyType, stationId, e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user