mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
删除无用代码
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user