mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update
This commit is contained in:
@@ -700,12 +700,13 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
|
||||
nrService.pushOrderInfo(orderBasicInfo.getOrderCode());
|
||||
}
|
||||
if (StringUtils.equals(ThirdPlatformTypeEnum.YONG_CHENG_BO_CHE.getCode(), thirdPartyType)) {
|
||||
// 中电联
|
||||
ycbcService.pushChargeOrderInfo(orderBasicInfo.getOrderCode());
|
||||
// 甬城泊车
|
||||
String result = ycbcService.pushChargeOrderInfo(orderBasicInfo.getOrderCode());
|
||||
log.info("甬城泊车平台 推送充电订单信息 result:{}", result);
|
||||
}
|
||||
// 调用相关接口
|
||||
} catch (Exception e) {
|
||||
log.error("联联平台 推送订单信息发生异常", e);
|
||||
log.error("第三方平台 推送订单信息发生异常", e);
|
||||
}
|
||||
} else {
|
||||
// 平台没有查到订单
|
||||
|
||||
@@ -353,9 +353,10 @@ public class UploadRealTimeMonitorHandler extends AbstractHandler {
|
||||
// 甬城泊车
|
||||
log.info("推送甬城泊车平台实时数据 params: orderBasicInfo:{}", JSON.toJSONString(orderInfo));
|
||||
// 设备状态变化推送 notification_stationStatus
|
||||
ycbcService.notificationStationStatus(pileConnectorCode, connectorStatus);
|
||||
String result1 = ycbcService.notificationStationStatus(pileConnectorCode, connectorStatus);
|
||||
// 推送充电状态
|
||||
ycbcService.pushChargeStatus(orderInfo.getOrderCode());
|
||||
String result2 = ycbcService.pushChargeStatus(orderInfo.getOrderCode());
|
||||
log.info("推送甬城泊车平台实时数据 result1:{}\n result2:{}", result1, result2);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("推送第三方平台 实时数据 异常", e);
|
||||
|
||||
Reference in New Issue
Block a user