mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user