mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 12:05:05 +08:00
update
This commit is contained in:
@@ -545,6 +545,23 @@ public class CommonService {
|
||||
}
|
||||
}
|
||||
|
||||
public void commonPushStartChargeResultV2(OrderBasicInfo orderBasicInfo) {
|
||||
String stationId = orderBasicInfo.getStationId();
|
||||
// 查询该站点是否推送第三方平台
|
||||
List<ThirdPartySecretInfoVO> relationInfoList = thirdpartySecretInfoService.queryStationToPlatformList(stationId);
|
||||
// ThirdPartyStationRelationVO relationInfo = thirdPartyStationRelationService.selectRelationInfo(relation);
|
||||
if (CollectionUtils.isEmpty(relationInfoList)) {
|
||||
return;
|
||||
}
|
||||
for (ThirdPartySecretInfoVO relationVO : relationInfoList) {
|
||||
NotificationDTO dto = new NotificationDTO();
|
||||
dto.setStationId(stationId);
|
||||
dto.setPlatformType(relationVO.getPlatformType());
|
||||
dto.setOrderCode(orderBasicInfo.getOrderCode());
|
||||
notificationService.commonPushStartChargeResult(dto);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 统一推送告警信息
|
||||
* @param pileConnectorCode
|
||||
|
||||
Reference in New Issue
Block a user