删除无用代码

This commit is contained in:
Guoqs
2025-02-10 13:32:06 +08:00
parent a6c273e0e7
commit ad2cf6a1e3

View File

@@ -678,27 +678,12 @@ public class TransactionRecordsRequestHandler extends AbstractYkcHandler {
}, executor);
}
// // 给车辆绑定优惠券
// try {
// // BigDecimal totalElectricity = new BigDecimal(data.getTotalElectricity());
// // if (totalElectricity.compareTo(BigDecimal.TEN) > 0) {
// // // 充电度数大于10度
// // }
// String bindResult = bindCoupon(orderBasicInfo);
// log.info("绑定优惠券 订单信息:{}, result:{}", orderBasicInfo, bindResult);
// } catch (BusinessException e) {
// log.error("绑定优惠券 error, code:{}, msg:{}", e.getCode(), e.getMessage());
// } catch (Exception e) {
// log.error("绑定优惠券 error,", e);
// }
// 异步推送第三方平台订单信息
CompletableFuture.runAsync(() -> {
try {
commonService.commonPushOrderInfo(finalOrderBasicInfo);
} catch (Exception e) {
log.error("推送第三方平台订单信息error, ", e);
e.printStackTrace();
}
}, executor);
@@ -708,7 +693,6 @@ public class TransactionRecordsRequestHandler extends AbstractYkcHandler {
commonService.commonPushOrderInfoV2(finalOrderBasicInfo);
} catch (Exception e) {
log.error("推送第三方平台订单信息error, ", e);
e.printStackTrace();
}
}, executor);
} else {