mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
新增 浙江省平台推送历史充电订单接口
This commit is contained in:
@@ -273,9 +273,9 @@ public class CommonService {
|
||||
if (StringUtils.equals(connectorStatus, "03")) {
|
||||
// 充电中
|
||||
lianLianService.pushPileChargeStatusChange(orderInfo.getOrderCode());
|
||||
// 推送充电状态
|
||||
lianLianService.pushChargeStatus(orderInfo.getOrderCode());
|
||||
}
|
||||
// 推送充电状态
|
||||
lianLianService.pushChargeStatus(orderInfo.getOrderCode());
|
||||
}
|
||||
if (StringUtils.equals(ThirdPlatformTypeEnum.NING_BO_PLATFORM.getTypeCode(), thirdPartyType)) {
|
||||
// 中电联
|
||||
@@ -422,12 +422,6 @@ public class CommonService {
|
||||
return;
|
||||
}
|
||||
|
||||
// 查询订单信息
|
||||
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
|
||||
if (Objects.isNull(orderInfo)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 推送
|
||||
for (ThirdPartySecretInfoVO thirdPartySecretInfoVO : thirdPartySecretInfoVOS) {
|
||||
NotificationDTO dto = new NotificationDTO();
|
||||
@@ -435,11 +429,17 @@ public class CommonService {
|
||||
dto.setPileConnectorCode(pileConnectorCode);
|
||||
dto.setStatus(changedStatus);
|
||||
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
|
||||
dto.setOrderCode(orderInfo.getOrderCode());
|
||||
|
||||
notificationService.notificationConnectorChargeStatus(dto);
|
||||
|
||||
notificationService.notificationStationStatus(dto);
|
||||
|
||||
// 查询订单信息
|
||||
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
|
||||
if (Objects.isNull(orderInfo)) {
|
||||
return;
|
||||
}
|
||||
dto.setOrderCode(orderInfo.getOrderCode());
|
||||
notificationService.notificationConnectorChargeStatus(dto);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user