This commit is contained in:
YAS\29473
2025-08-15 09:42:37 +08:00
parent 7a9fe91ea2
commit 9800d44bff
3 changed files with 68 additions and 3 deletions

View File

@@ -323,8 +323,36 @@ public class JsowellTask {
return;
}
List<String> thirdPartyTypeList = Lists.newArrayList(ThirdPlatformTypeEnum.GUI_ZHOU_PLATFORM.getTypeCode(),
ThirdPlatformTypeEnum.SI_CHUAN_PLATFORM.getTypeCode(),
ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode()
);
for (String thirdPartyType : thirdPartyTypeList) {
List<StationInfoVO> stationInfoVOS = thirdPartyStationRelationService.selectStationList(thirdPartyType);
if (CollectionUtils.isEmpty(stationInfoVOS)) {
continue;
}
List<String> stationIdList = stationInfoVOS.stream()
.map(StationInfoVO::getStationId)
.collect(Collectors.toList());
for (String stationId : stationIdList) {
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType(thirdPartyType);
notificationService.notificationOperationStatsInfo(dto);
}
}
// 贵州推送充电站统计信息
try {
/* try {
String thirdPartyType = ThirdPlatformTypeEnum.GUI_ZHOU_PLATFORM.getTypeCode();
List<StationInfoVO> stationInfoVOS = thirdPartyStationRelationService.selectStationList(thirdPartyType);
@@ -369,7 +397,7 @@ public class JsowellTask {
}
} catch (Exception e) {
log.error("吉林省平台推送充电站用能统计失败", e);
}
}*/
}