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:
@@ -670,12 +670,12 @@ public class TransactionRecordsRequestHandler extends AbstractHandler {
|
||||
|
||||
// 给车辆绑定优惠券
|
||||
try {
|
||||
BigDecimal totalElectricity = new BigDecimal(data.getTotalElectricity());
|
||||
if (totalElectricity.compareTo(BigDecimal.TEN) > 0) {
|
||||
// 充电度数大于10度
|
||||
String bindResult = bindCoupon(orderBasicInfo);
|
||||
log.info("绑定优惠券 订单信息:{}, result:{}", orderBasicInfo, bindResult);
|
||||
}
|
||||
// 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) {
|
||||
|
||||
Reference in New Issue
Block a user