可抵扣数量

This commit is contained in:
2025-09-19 11:09:52 +08:00
parent 2673440426
commit eb31057b3e
4 changed files with 9 additions and 7 deletions

View File

@@ -1151,7 +1151,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
log.error("订单积分使用或优惠券扣除失败订单id{}", orderInfo.getId());
}
} else {
//TODO 新客立减
//新客立减
if (param.getNewCustomerDiscountId() != null) {
newConsumerDiscountRecordService.useDiscount(param.getNewCustomerDiscountId(), shopUser.getId(), param.getOrderId(), param.getNewCustomerDiscountAmount());
}