This commit is contained in:
YAS\29473
2025-05-22 14:26:27 +08:00
parent db44ef86c3
commit 66dd65d84f
5 changed files with 12 additions and 22 deletions

View File

@@ -105,7 +105,7 @@ public class RemoteStartChargingStrategy implements AbstractYkcStrategy {
}
// orderBasicInfoService.updateOrderBasicInfo(orderInfo);
log.info("远程启动充电命令回复-交易流水号:{}, 桩编码:{}, 枪号:{}, 启动结果(00-失败, 01-成功):{}, 失败原因:{}", transactionCode, pileSn, connectorCode, startResult, failedReasonMsg);
log.info("[===远程启动充电命令回复===] 2222222");
// 异步推送第三方平台
CompletableFuture.runAsync(() -> {
OrderBasicInfo orderInfo = orderBasicInfoService.getOrderInfoByTransactionCode(transactionCode);
@@ -114,9 +114,8 @@ public class RemoteStartChargingStrategy implements AbstractYkcStrategy {
}
try {
// 启动结果回复
// commonService.commonPushStartChargeResult(orderInfo);
commonService.commonPushStartChargeResultV2(orderInfo);
log.info("异步推送第三方平台订单信息成功");
commonService.commonPushStartChargeResult(orderInfo);
} catch (Exception e) {
e.printStackTrace();
}
@@ -124,7 +123,7 @@ public class RemoteStartChargingStrategy implements AbstractYkcStrategy {
if (StringUtils.equals(startResult, Constants.DOUBLE_ZERO)) {
try {
Thread.sleep(500);
commonService.commonPushOrderInfoV2(orderInfo);
commonService.commonPushOrderInfo(orderInfo);
} catch (Exception e) {
log.error("统一推送第三方平台订单信息error, ", e);
}